Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
feat: added create secret test to show case
=4906e53844ac
diff --git a/CLAUDE.md b/CLAUDE.mdindex f2c076cadc..9ed463c298 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -23,6 +23,7 @@ infisical/├── frontend/ # React 18 SPA (see frontend/CLAUDE.md)├── wasm/ # Rust crates compiled to WASM for the frontend (see wasm/<crate>/CLAUDE.md)├── e2e/ # External Playwright suite — gates prod deploys against gamma (see e2e/CLAUDE.md)+├── tests/ # Go blackbox suite — real containers, HTTP only (see tests/CLAUDE.md)├── docs/ # Documentation site (Mintlify-based)├── build-versions.env # Versions pinned across several Dockerfiles (see Dependency Policy)├── docker-compose.dev.yml # Local dev (PostgreSQL, Redis, backend, frontend, Nginx)@@ -42,6 +43,8 @@ infisical/- **`docs/`** — Product documentation site. Has its own Dockerfile for building. Reference docs for up-to-date feature descriptions and API usage.- **`e2e/`** — Playwright suite that runs against a deployed environment (gamma) between deploy and prod promotion. Distinct from `backend/e2e-test/` (in-process Vitest). Failure blocks every prod-deploy job. Covers SCIM + SAML flows (SP-initiated, IdP-initiated, deactivation, response rejection) against a mock IdP we control — see [`e2e/CLAUDE.md`](e2e/CLAUDE.md) for the harness and the one-time gamma bootstrap.+- **`tests/`** — Go blackbox suite. Boots a real Infisical in Docker and talks to it over HTTP only, so the same tests run against the Node and Go servers unchanged. Distinct from `backend/e2e-test/` (in-process Vitest, compiled against the Node source) and from `e2e/` (Playwright against a deployed gamma). `make test-suites` from `tests/` runs everything; see [`tests/CLAUDE.md`](tests/CLAUDE.md) before writing one.+Enterprise features live in `backend/src/ee/` (services and routes), registered before community routes so they can override/extend them.### Self-Hosted Deploymentdiff --git a/tests/CLAUDE.md b/tests/CLAUDE.mdnew file mode 100644index 0000000000..a2a4b766db--- /dev/null+++ b/tests/CLAUDE.md@@ -0,0 +1,512 @@+# CLAUDE.md++Everything needed to write tests in `tests/`, the Go blackbox suite. It boots a real+Infisical in Docker and talks to it over HTTP only.++## 1. The boundary++**What belongs here:** anything a customer or an API client can observe. Requests,+responses, status codes, error messages, emails, outbound calls to third parties,+and behaviour that emerges from a queue or a cron after the response returns.++**What does not:**++- Pure functions and arithmetic. Unit tests in `backend/` are cheaper and sharper.+- Anything requiring a database connection, an internal service handle or a mocked+ module. There is no database client here on purpose. If you want one, the test+ belongs in `backend/e2e-test/`.+- Log lines, outside boot behaviour.++**Why it exists separately from the other two suites.** `backend/e2e-test/` boots the+Fastify app in-process and is compiled against the Node source tree, so it cannot+survive a rewrite. `e2e/` is Playwright against a deployed environment and is+deliberately smoke-level. This suite's only contract with the server is **a Docker+image, a set of environment variables, and the OpenAPI spec**. Swap the image for a+Go build and every test here still runs, which is the entire point.++## 2. Quick start++```bash+make test-suites # product tests: ./suites/...+make test-harness # harness tests: ./harnesstest/...+make test-all # both+make test-unit # everything that needs no containers+make lint # gofmt, vet, staticcheck+```++Each of the first three brings the stack up, runs its packages, and tears the stack+down on the way out, including after a failure or a Ctrl-C. The exit status is the+test run's, so a red run stays red.++They are separate targets so a red line says *which thing* broke: `test-suites`+failing means Infisical is broken, `test-harness` failing means the harness is. One+target reporting both would erase that distinction, which is the whole reason the two+directories exist.++To iterate, keep the stack up and run one package:++```bash+make up+go test ./suites/secretmanager/secrets/... -count=1+make down+```++`-count=1` because Go caches results, and a cached pass tells you nothing about a+live server.++Other targets: `make status` lists harness containers, `make test-docker` runs the+infra layer's own container tests, `make fmt` formats.++## 3. How the stack works++`make up` starts five containers on a Docker network:++```+inf-shared-postgres postgres:14-alpine, max_locks_per_transaction=512+inf-shared-redis redis:7-alpine+inf-shared-mailpit fake SMTP with a search API+inf-shared-wiremock fake internet, in forward-proxy mode+inf-shared-infisical-<image id> built from backend/Dockerfile+```++Boot costs about 25 seconds, almost all of it 540 migrations.++**Container identity is the container name.** A test binary asks for a container by+name, adopts it if it exists and creates it if it does not. That is why `go test`+with nothing running works, and why a second run is fast. It also means **changing a+shared container's configuration silently adopts a stale one**: if you change an+image tag, a command flag or a network alias, run `make down` first or the change+will not take effect.++**Nothing auto-cleans.** Testcontainers' reaper is disabled, because it deletes by+the *creating* session's label and would reap containers another binary had adopted.+Cleanup belongs to `make down`. After an interrupted run, `make down` is also the fix+for a stale container.++**Container logs are written unconditionally** to `.logs/<timestamp>/<container>.log`+next to the package, gitignored. You can tail one while a test hangs.++## 4. Layout++```+tests/+├── suites/ product behaviour: does Infisical do the right thing+├── harnesstest/ harness behaviour: does our tooling do the right thing+│ ├── shared/+│ └── isolated/+├── harness/ Stack, Profile, Tenant, Principal, instance lifecycle+│ ├── infisical/ the application container module+│ └── license/ the entitlement stub+├── fixture/ per-product resource builders: project, appconnection+├── provider/ what we know about third parties we stub+├── stub/ WireMock scopes that can only match one caller+├── infra/ product-agnostic container layer+├── internal/ mail, id, apierr, spec+├── clients/api/ generated Infisical client — never hand-edit+└── cmd/inf/ up, down, status+```++**`suites/` or `harnesstest/`?** A harness test earns its place only if **the harness+is the only thing that can make it fail**. If a product change could break it, it is a+product test and belongs in `suites/`, or it does not belong at all.++This matters because of what a red run means. A failing suite says Infisical is+broken; a failing harnesstest says our tooling is. Mixing them sends people to debug+the wrong codebase, and when the API is rewritten the suites are the contract that+must pass unchanged while the harness tests are not.++Within `suites/`, group by product boundary, not URL version:+`suites/secretmanager/secrets`, `suites/organization`, `suites/project`. `identity`+owns routes across v1 and v2; `secrets` owns v4 and the v3 deprecations. That is what+makes the grouping survive a version bump.++**Import direction is one-way.** `fixture/*` may import `harness`; `harness` must+never import a fixture. That is what lets someone add `fixture/pki` without touching+anything else.++## 5. Writing a test++Every package needs a `main_test.go` declaring its profile. That is the only harness+decision a test author makes:++```go+func TestMain(m *testing.M) { harness.Main(m, harness.Shared) }+```++```go+func TestSecret_Create(t *testing.T) {+ t.Parallel()+ h := harness.From(t)++ t.Run("ok/a created secret reads back with its value", func(t *testing.T) {+ t.Parallel()++ tn := h.NewTenant(t)+ proj := project.New(t, tn, project.WithType("secret-manager"))++ created := createSecret(t, tn, proj.ID, "dev", "/", "DB_URL", "postgres://localhost/app")+ got := getSecret(t, tn, proj.ID, "dev", "/", "DB_URL")++ if got.SecretValue != "postgres://localhost/app" {+ t.Errorf("secret read back as %q, want postgres://localhost/app", got.SecretValue)+ }+ })+}+```++### Profiles++| profile | what it gives | when |+|---|---|---|+| `harness.Shared` | one instance for the whole run, a fresh organization per test | almost always |+| `harness.Isolated` | the package's own Postgres, Redis, WireMock, Infisical and Docker network | only when the test writes instance-wide state |++`Isolated` costs a full Infisical boot, roughly 40 to 50 seconds per package. Reach+for it only when the test writes something not scoped to an organization: super-admin+config, enabled login methods, the encryption strategy, run modes.++### `t.Parallel()`++**Mandatory under `Shared`**, on the test and every subtest. Each test gets its own+tenant, so there is nothing to serialise. A `Shared` test that cannot be parallel is+a test in the wrong package.++**Do not call it under `Isolated`.** Those tests share one instance's global state.+They still run concurrently with other packages, because each test binary owns its+containers.++### Tenancy is the isolation unit++`h.NewTenant(t)` creates an organization with its own administrator, and registers+its deletion on `t.Cleanup`. Everything a test touches lives under that organization.+Choosing the org as the boundary is what makes `t.Parallel()` the default rather than+the exception.++The admin is a real invited user at `admin@<orgslug>.test`, not the instance root. It+has no super-admin flag, so a test cannot reach instance-wide state through it. This+was wrong once, and every `Shared` test held instance-admin power until it was fixed.++## 6. Naming++Test function: `Test<Resource>_<Behaviour>`.++```go+func TestSecret_Create(t *testing.T)+func TestProject_Access(t *testing.T)+```++Subtest: `<outcome>/<what happened, in words>`. The prefix is not decoration; it is+what makes a run readable and what a lint can check.++| prefix | meaning |+|---|---|+| `ok/` | the happy path |+| `invalid/` | the request was malformed or referenced something that does not exist |+| `forbidden/` | authenticated but not allowed |+| `cross-tenant/` | another tenant's data was not reachable |+| `notfound/` | the target does not exist |+| `conflict/` | the request collided with existing state |+| `unlicensed/` | the plan does not include the feature |+| `idempotent/` | doing it twice is the same as doing it once |++One file per resource or flow, named after it: `create_test.go`, `access_test.go`.+Variants of one flow are subtests, not new files.++## 7. Test outcomes, not coverage++A test exists to pin a behaviour someone could break. If you cannot say what breaks+when it fails, do not write it.++**Assert what the caller depends on, not that a route responded.** A test that checks+`StatusCode() == 200` and stops has tested that a URL is routed. `TestProject_Create`+did exactly that; it now checks the project landed in the caller's organization and+that `dev`, `staging` and `prod` were provisioned, because those are what a caller+relies on.++**A rejection test must also check nothing changed.** A route can refuse *and* have+already written. The duplicate-secret test re-reads the secret and asserts the+original value survived.++**Assert error bodies, not just statuses**, where the message is part of the contract.+`backend/CODE_QUALITY.md` requires messages a user can understand and forbids+pointless 500s; a suite that only checks `== 400` never enforces that.++**Suspect a test that passes the first time.** Break the assertion on purpose, watch+it fail, put it back. A test you have never seen fail is a test you have not verified.++**Use the right actor.** A test about what a member can do must use a member. Reaching+for `tn.Admin` because it is convenient makes the claim vacuous.++### `spec.Why`, sparingly++When the name cannot carry the reason, add one line of why: an invariant the rest of+the suite rests on, a past incident, a product constraint not visible in the test.++```go+spec.Why(t, `Create must not silently overwrite. If it did, a caller expecting to add+ a secret could replace one already in use and never learn about it.`)+```++It prints as a `why:` line in verbose output. Most tests do not need one. If every+subtest has one, they have stopped meaning anything.++## 8. The harness API++```go+h := harness.From(t) // the stack this package's TestMain built+tn := h.NewTenant(t) // fresh organization with its own admin+tn.Admin // *Principal: .API, .Token, .Email, .Kind, .ID+tn.OrgID, tn.OrgSlug+tn.Address("alice") // alice@<orgslug>.test++tn.NewUser(t, harness.WithName("alice")) // real user, invited through Mailpit+tn.NewIdentity(t, harness.OrgRole("admin")) // machine identity, universal auth+tn.Mail(t) // Mailpit scoped to this tenant's domain+tn.SetPlan(t, license.Enterprise().Without(license.RBAC))+tn.Verify(t, plan) // assert the instance resolved the plan+tn.Client(t, token) // a client on this tenant's rate-limit bucket++h.InstanceAdmin(t) // super admin; refused outside Isolated+```++Fixtures live in their own packages and take the tenant:++```go+proj := project.New(t, tn, project.WithType("secret-manager"))+proj.ID, proj.Slug, proj.Environments+proj.NewIdentity(t, project.Role("admin"))+proj.NewUser(t, project.Name("bob"), project.Role("admin"))+proj.Grant(t, principal, "developer")++conn := appconnection.New(t, tn, provider.GitHub)+appconnection.Try(t, tn, provider.GitHub, appconnection.RejectCredentials(401))+```++**Never build your own API client.** Use `tn.Admin.API`, a principal's `.API`, or+`tn.Client(t, token)`. A hand-built client loses the tenant's `X-Forwarded-For`+address and starts drawing down a rate-limit bucket shared with every other test, so+the symptom is a 429 in an unrelated package.++Organization roles and project roles are separate types on purpose:+`harness.OrgRole("admin")` and `project.Role("viewer")`. Passing one where the other+belongs does not compile. It used to be silently ignored.++## 9. Outbound calls and stubbing++The instance has **no access to the real internet.** WireMock runs as a forward proxy+and a catch-all refuses anything unstubbed with a 501 naming the URL:++```+The harness has no stub for GET https://api.checklyhq.com/v1/accounts+Register one with conn.Stub(t), or add the host to the provider registry.+```++This is load bearing. Browser proxying forwards unmatched requests to the real host+by default, so without the catch-all a test that forgot a stub would quietly pass+against the live API.++### Stubbing++```go+conn := appconnection.New(t, tn, provider.GitHub)+sc := conn.Stub(t)+sc.On(t, "PUT", "/repos/acme/app/actions/secrets/DB_URL").Return(t, 204, nil)+...+if n := sc.Received(t, "PUT", "/repos/acme/app/actions/secrets/DB_URL"); n != 1 { ... }+```++One WireMock serves every tenant, so **isolation is by discriminator, not by server**.+Each connection gets a unique credential, the provider's `Auth` function turns it into+request matchers, and every stub and journal query carries them. Two tenants stubbing+the same method and path cannot see each other, and that is enforced at registration+rather than detected afterwards. No org id is threaded anywhere: the application+already proves who it is by which credential it sends.++### Two interception paths, and why both exist++**Forward proxy.** `HTTP_PROXY` and `HTTPS_PROXY` point at WireMock; the client sends+`CONNECT api.example.com:443`, and WireMock forges a certificate for that host signed+by its own CA, which is injected into the container as `NODE_EXTRA_CA_CERTS`. Works+for anything using plain axios through `createRequestClient`.++**DNS alias**, for clients that resolve the hostname themselves. Infisical's+SSRF-safe client `safeRequest` resolves a hostname up front and **pins the socket to+that IP**. With a proxy configured, axios then uses the proxy's *port* with the real+host's *IP* and hangs for 100 seconds. The fix is `stubbedHosts` in+`harness/profile.go`: Docker DNS resolves the name to WireMock, so the pin lands on+the proxy and the `CONNECT` still tells WireMock which certificate to forge. This also+needs `ALLOW_INTERNAL_IP_CONNECTIONS=true`, because the SSRF guard would otherwise+reject a public hostname resolving to a private address.++If you add a host to `stubbedHosts`, **run `make down`**. The WireMock container name+does not change, so a running one is adopted with the old aliases and the new host+quietly reaches the internet.++A network alias belongs to the network, not the container, so two WireMocks claiming+one name make Docker DNS round-robin between them. That is why an `Isolated` package+gets its own network.++### Adding a provider++Add an entry to `provider/`. It carries the app slug, the hostname the client+hardcodes, an `Auth` function producing the discriminator, a `Validate` function+listing the stubs a connection create requires, and a `Create` closure calling the+generated client. Look at `provider.GitHub`.++The hostname must be one the client hardcodes. If the provider lets you configure a+base URL and you point it straight at WireMock, the test proves the stub works and+nothing about interception.++## 10. Entitlements++Every tenant gets a full enterprise plan by default. The instance runs in Cloud mode+against a WireMock-stubbed license server, which is what makes plans resolve **per+organization** rather than instance-wide.++```go+tn := h.NewTenant(t, harness.WithPlan(license.Enterprise().Without(license.RBAC)))+tn.SetPlan(t, license.Enterprise()) // also verifies it took effect+```++`SetPlan` and `Verify` read the plan back with `refreshCache=true`, which busts the+900-second Redis cache and asserts the stub produced what was asked for. A wrong+feature key otherwise surfaces much later as a 403 in an unrelated test.++Use `unlicensed/` subtests to pin downgrade behaviour. `CODE_QUALITY.md` requires that+a license check never changes a read path, and flipping entitlements is the only way+to test that.++## 11. Rate limits++The limiter is registered because the harness runs Cloud mode. Three tiers, and you+can only move one:++| where the limit comes from | examples | raisable |+|---|---|---|+| the organization's plan | `readLimit`, `writeLimit`, `secretsLimit` | yes, via the license stub |+| instance configuration | `authRateLimit`, `inviteUserRateLimit`, `identityCreationLimit` | no |+| a literal in the source | `smtpRateLimit`, 2 per **40s** | no |++`PUT /api/v1/rate-limit` looks like the lever for the middle tier and is inert here:+the sync that reads its row is gated on an entitlement Cloud mode never resolves.++**So the source address is the lever.** Every tenant and every principal gets its own+`X-Forwarded-For`, which is also why you must not build your own client. The tightest+limit is the org invite at two per forty seconds per address, which is why creating a+user mints a fresh address.++## 12. Time-dependent behaviour++Separate two questions usually tested as one: does the scheduler decide correctly when+to fire (pure arithmetic, unit test it), and does the right thing happen when it fires+(this suite). Almost all the value is in the second, and it does not require waiting.++**Interval-shaped features: use the product's own trigger.** Rotation and sync expose+a manual endpoint. Testing through it tests a real surface, and the 25-day interval+never enters the test.++**Deadline-shaped features: move the deadline, not the clock.** Certificates and+leases carry their deadline in the artifact, and both the deadline and the threshold+are user input. Issue a certificate valid for 7 days and set the alert threshold to+30, and the condition is true immediately.++**Async work is polled, never slept.** Syncs, rotations, webhooks and audit logs land+after the response returns. `time.Sleep` is how you get a suite that is slow *and*+flaky. There is no shared polling helper yet; `internal/mail` has a private loop, and+the second caller should extract one.++**Budget rule:** no `Shared` test waits more than about 60 seconds. A test that needs+longer is telling you it is using the wrong lever.++## 13. The generated client++Every call goes through `clients/api`, generated by oapi-codegen. There is no+hand-written HTTP path: **a route the generated client cannot reach is a route missing+an `operationId`, and the fix belongs in the router, not here.**++To add an endpoint:++1. Add its `operationId` to `include-operation-ids` in+ `clients/api/oapi-codegen.yaml`.+2. Regenerate against a **non-production** instance:++```bash+INFISICAL_OPENAPI_URL=http://localhost:8080 make generate-client+```++The non-production part is not optional. `env.ts` resolves the full spec as+`NODE_ENV !== "production" && OPENAPI_FULL_SPEC`, and the harness container runs+`NODE_ENV=production` on purpose. Generating against it **silently drops operations**+rather than failing. Use the dev stack, or boot a throwaway container from the harness+image with `NODE_ENV=development`.++If the route has no `operationId`, add one in the backend router first; without it+oapi-codegen derives a name from the path, which changes when the path does.++### Two generator traps++**Union request bodies do not marshal.** oapi-codegen declares the request-body type+as a *defined type* over the union struct, and a defined type does not inherit+methods, so the generated `MarshalJSON` is lost and the union serialises as `{}`.+Build the `JSONBody`, `json.Marshal` it yourself, and post through+`...WithBodyWithResponse`.++**Union responses need unwrapping.** `createSecretV4` returns a secret *or* an+approval request. Call `AsCreateSecretV4200JSONResponseBody0()` and fail loudly if it+is the other branch, rather than letting an approval request read as success.++## 14. Debugging a failure++1. **Container logs**: `.logs/<timestamp>/<container>.log`, written unconditionally.+2. **The WireMock journal**: `curl localhost:<port>/__admin/requests` shows every+ outbound call, whether it matched, and what was returned. `/__admin/mappings` shows+ registered stubs.+3. **Mailpit UI**: the mapped port on the Mailpit container, for anything email.+4. **`make status`** lists harness containers and their state.+5. If a test hangs for ~100 seconds on an outbound call, suspect the `safeRequest`+ pin: the host probably needs to be in `stubbedHosts`.++## 15. Anti-patterns++Each has bitten a suite like this before.++- `time.Sleep` instead of polling.+- Asserting on log lines instead of responses, outside boot tests.+- Package-level mutable state shared between tests.+- Using `tn.Admin` in a test about what a member can do.+- Over-stubbing: stubbing more than the test needs hides a real outbound call the+ code should not have made.+- A `Shared` test that cannot be `t.Parallel()`. It is in the wrong package.+- Asserting only status codes where the message is part of the contract.+- Reaching for the database. There is no client, deliberately.+- Naming a test file after a harness source file.++## 16. Before you call it done++```bash+make lint+make test-all+make up && go test -p 4 ./suites/... ./harnesstest/... -count=3; make down+```++The last one is the flake gate, and it deliberately runs both trees at once: the bugs+it catches are cross-package, so narrowing it to one tree would hide them. **Anything+failing it is shared state that escaped the tenant boundary**, and it is the single+most valuable check here.++Then do the thing that is easy to skip: break your new assertion on purpose and watch+it fail.++## 17. Known gaps++Honest state, so you do not assume coverage that is not there.++- Product coverage is thin: organization, project and secret creation only.+- No `internal/wait` helper yet, so polling is hand-rolled per call site.+- Secret sync and rotation are not covered; neither is PKI, PAM, KMS, scanning or SSO.+- The license fallback and catch-all stubs accumulate on the shared WireMock across+ runs, because nothing removes them. Harmless today since they are identical.+- Three operation IDs in the generated client have no caller+ (`listSecretsV4`, `beginEmailSignupV3`, `verifyEmailSignupV3`).+- `-p` is not pinned in the Makefile, so local and CI exercise different amounts of+ concurrency.diff --git a/tests/Makefile b/tests/Makefileindex e8f6dd481e..b37d6a342c 100644--- a/tests/Makefile+++ b/tests/Makefile@@ -8,7 +8,7 @@ GOFMT := $(shell go env GOROOT)/bin/gofmt# are missing and no test can reach them.INFISICAL_OPENAPI_URL ?= http://localhost:8080-.PHONY: fmt lint test test-unit test-docker test-suites up down status generate-client+.PHONY: fmt lint test test-unit test-docker test-suites test-harness test-all up down status generate-clientfmt:$(GOFMT) -w .@@ -42,8 +42,15 @@ test-docker:# still cleans up.## The recipe's exit status is still `go test`'s, so a failure stays a failure.-test-suites: up- @trap '$(MAKE) --no-print-directory down' EXIT; go test ./suites/... ./harnesstest/... -count=1+# Separate targets so a red line says which thing broke. `test-suites` failing means+# Infisical is broken; `test-harness` failing means the harness is. One target running+# both would report them the same way.+test-suites: PKGS = ./suites/...+test-harness: PKGS = ./harnesstest/...+test-all: PKGS = ./suites/... ./harnesstest/...++test-suites test-harness test-all: up+ @trap '$(MAKE) --no-print-directory down' EXIT; go test $(PKGS) -count=1up:go run ./cmd/inf updiff --git a/tests/clients/api/api.gen.go b/tests/clients/api/api.gen.goindex 2f239b5c0c..925904db5f 100644--- a/tests/clients/api/api.gen.go+++ b/tests/clients/api/api.gen.go@@ -3162,544 +3162,751 @@ func (e VerifyEmailSignupV3500JSONResponseBodyStatusCode) Valid() bool {}}-// GetServerStatus400JSONResponseBodyStatusCode defines parameters for GetServerStatus.-type GetServerStatus400JSONResponseBodyStatusCode float32--// GetServerStatus401JSONResponseBodyStatusCode defines parameters for GetServerStatus.-type GetServerStatus401JSONResponseBodyStatusCode float32--// GetServerStatus403JSONResponseBodyStatusCode defines parameters for GetServerStatus.-type GetServerStatus403JSONResponseBodyStatusCode float32--// GetServerStatus404JSONResponseBodyStatusCode defines parameters for GetServerStatus.-type GetServerStatus404JSONResponseBodyStatusCode float32+// Defines values for ListSecretsV4ParamsViewSecretValue.+const (+ ListSecretsV4ParamsViewSecretValueFalse ListSecretsV4ParamsViewSecretValue = "false"+ ListSecretsV4ParamsViewSecretValueTrue ListSecretsV4ParamsViewSecretValue = "true"+)-// GetServerStatus422JSONResponseBodyStatusCode defines parameters for GetServerStatus.-type GetServerStatus422JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the ListSecretsV4ParamsViewSecretValue enum.+func (e ListSecretsV4ParamsViewSecretValue) Valid() bool {+ switch e {+ case ListSecretsV4ParamsViewSecretValueFalse:+ return true+ case ListSecretsV4ParamsViewSecretValueTrue:+ return true+ default:+ return false+ }+}-// GetServerStatus500JSONResponseBodyStatusCode defines parameters for GetServerStatus.-type GetServerStatus500JSONResponseBodyStatusCode float32+// Defines values for ListSecretsV4ParamsExpandSecretReferences.+const (+ ListSecretsV4ParamsExpandSecretReferencesFalse ListSecretsV4ParamsExpandSecretReferences = "false"+ ListSecretsV4ParamsExpandSecretReferencesTrue ListSecretsV4ParamsExpandSecretReferences = "true"+)-// AdminBootstrapJSONBody defines parameters for AdminBootstrap.-type AdminBootstrapJSONBody struct {- Email openapi_types.Email `json:"email"`- Organization string `json:"organization"`- Password string `json:"password"`+// Valid indicates whether the value is a known member of the ListSecretsV4ParamsExpandSecretReferences enum.+func (e ListSecretsV4ParamsExpandSecretReferences) Valid() bool {+ switch e {+ case ListSecretsV4ParamsExpandSecretReferencesFalse:+ return true+ case ListSecretsV4ParamsExpandSecretReferencesTrue:+ return true+ default:+ return false+ }}-// AdminBootstrap400JSONResponseBodyStatusCode defines parameters for AdminBootstrap.-type AdminBootstrap400JSONResponseBodyStatusCode float32--// AdminBootstrap401JSONResponseBodyStatusCode defines parameters for AdminBootstrap.-type AdminBootstrap401JSONResponseBodyStatusCode float32+// Defines values for ListSecretsV4ParamsRecursive.+const (+ ListSecretsV4ParamsRecursiveFalse ListSecretsV4ParamsRecursive = "false"+ ListSecretsV4ParamsRecursiveTrue ListSecretsV4ParamsRecursive = "true"+)-// AdminBootstrap403JSONResponseBodyStatusCode defines parameters for AdminBootstrap.-type AdminBootstrap403JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the ListSecretsV4ParamsRecursive enum.+func (e ListSecretsV4ParamsRecursive) Valid() bool {+ switch e {+ case ListSecretsV4ParamsRecursiveFalse:+ return true+ case ListSecretsV4ParamsRecursiveTrue:+ return true+ default:+ return false+ }+}-// AdminBootstrap404JSONResponseBodyStatusCode defines parameters for AdminBootstrap.-type AdminBootstrap404JSONResponseBodyStatusCode float32+// Defines values for ListSecretsV4ParamsIncludePersonalOverrides.+const (+ ListSecretsV4ParamsIncludePersonalOverridesFalse ListSecretsV4ParamsIncludePersonalOverrides = "false"+ ListSecretsV4ParamsIncludePersonalOverridesTrue ListSecretsV4ParamsIncludePersonalOverrides = "true"+)-// AdminBootstrap422JSONResponseBodyStatusCode defines parameters for AdminBootstrap.-type AdminBootstrap422JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the ListSecretsV4ParamsIncludePersonalOverrides enum.+func (e ListSecretsV4ParamsIncludePersonalOverrides) Valid() bool {+ switch e {+ case ListSecretsV4ParamsIncludePersonalOverridesFalse:+ return true+ case ListSecretsV4ParamsIncludePersonalOverridesTrue:+ return true+ default:+ return false+ }+}-// AdminBootstrap500JSONResponseBodyStatusCode defines parameters for AdminBootstrap.-type AdminBootstrap500JSONResponseBodyStatusCode float32+// Defines values for ListSecretsV4ParamsIncludeImports.+const (+ ListSecretsV4ParamsIncludeImportsFalse ListSecretsV4ParamsIncludeImports = "false"+ ListSecretsV4ParamsIncludeImportsTrue ListSecretsV4ParamsIncludeImports = "true"+)-// UpdateAdminConfigJSONBody defines parameters for UpdateAdminConfig.-type UpdateAdminConfigJSONBody struct {- AllowSignUp *bool `json:"allowSignUp,omitempty"`- AllowedSignUpDomain *string `json:"allowedSignUpDomain,omitempty"`- AuthConsentContent *string `json:"authConsentContent,omitempty"`- DefaultAuthOrgId *string `json:"defaultAuthOrgId,omitempty"`- EnabledLoginMethods *[]UpdateAdminConfigJSONBodyEnabledLoginMethods `json:"enabledLoginMethods,omitempty"`- EnvOverrides *struct {- CLIENTGITLABLOGINURL string `json:"CLIENT_GITLAB_LOGIN_URL"`- CLIENTIDGITHUBLOGIN string `json:"CLIENT_ID_GITHUB_LOGIN"`- CLIENTIDGITLABLOGIN string `json:"CLIENT_ID_GITLAB_LOGIN"`- CLIENTIDGOOGLELOGIN string `json:"CLIENT_ID_GOOGLE_LOGIN"`- CLIENTSECRETGITHUBLOGIN string `json:"CLIENT_SECRET_GITHUB_LOGIN"`- CLIENTSECRETGITLABLOGIN string `json:"CLIENT_SECRET_GITLAB_LOGIN"`- CLIENTSECRETGOOGLELOGIN string `json:"CLIENT_SECRET_GOOGLE_LOGIN"`- DISABLEAUDITLOGSTORAGE string `json:"DISABLE_AUDIT_LOG_STORAGE"`- DISABLEPOSTGRESAUDITLOGSTORAGE string `json:"DISABLE_POSTGRES_AUDIT_LOG_STORAGE"`- DISABLEPUBLICSECRETSHARING string `json:"DISABLE_PUBLIC_SECRET_SHARING"`- INFAPPCONNECTIONAWSACCESSKEYID string `json:"INF_APP_CONNECTION_AWS_ACCESS_KEY_ID"`- INFAPPCONNECTIONAWSSECRETACCESSKEY string `json:"INF_APP_CONNECTION_AWS_SECRET_ACCESS_KEY"`- INFAPPCONNECTIONAZUREAPPCONFIGURATIONCLIENTID string `json:"INF_APP_CONNECTION_AZURE_APP_CONFIGURATION_CLIENT_ID"`- INFAPPCONNECTIONAZUREAPPCONFIGURATIONCLIENTSECRET string `json:"INF_APP_CONNECTION_AZURE_APP_CONFIGURATION_CLIENT_SECRET"`- INFAPPCONNECTIONAZURECLIENTSECRETSCLIENTID string `json:"INF_APP_CONNECTION_AZURE_CLIENT_SECRETS_CLIENT_ID"`- INFAPPCONNECTIONAZURECLIENTSECRETSCLIENTSECRET string `json:"INF_APP_CONNECTION_AZURE_CLIENT_SECRETS_CLIENT_SECRET"`- INFAPPCONNECTIONAZUREDEVOPSCLIENTID string `json:"INF_APP_CONNECTION_AZURE_DEVOPS_CLIENT_ID"`- INFAPPCONNECTIONAZUREDEVOPSCLIENTSECRET string `json:"INF_APP_CONNECTION_AZURE_DEVOPS_CLIENT_SECRET"`- INFAPPCONNECTIONAZUREKEYVAULTCLIENTID string `json:"INF_APP_CONNECTION_AZURE_KEY_VAULT_CLIENT_ID"`- INFAPPCONNECTIONAZUREKEYVAULTCLIENTSECRET string `json:"INF_APP_CONNECTION_AZURE_KEY_VAULT_CLIENT_SECRET"`- INFAPPCONNECTIONGCPSERVICEACCOUNTCREDENTIAL string `json:"INF_APP_CONNECTION_GCP_SERVICE_ACCOUNT_CREDENTIAL"`- INFAPPCONNECTIONGITHUBAPPCLIENTID string `json:"INF_APP_CONNECTION_GITHUB_APP_CLIENT_ID"`- INFAPPCONNECTIONGITHUBAPPCLIENTSECRET string `json:"INF_APP_CONNECTION_GITHUB_APP_CLIENT_SECRET"`- INFAPPCONNECTIONGITHUBAPPHOST string `json:"INF_APP_CONNECTION_GITHUB_APP_HOST"`- INFAPPCONNECTIONGITHUBAPPID string `json:"INF_APP_CONNECTION_GITHUB_APP_ID"`- INFAPPCONNECTIONGITHUBAPPPRIVATEKEY string `json:"INF_APP_CONNECTION_GITHUB_APP_PRIVATE_KEY"`- INFAPPCONNECTIONGITHUBAPPSLUG string `json:"INF_APP_CONNECTION_GITHUB_APP_SLUG"`- INFAPPCONNECTIONGITHUBOAUTHCLIENTID string `json:"INF_APP_CONNECTION_GITHUB_OAUTH_CLIENT_ID"`- INFAPPCONNECTIONGITHUBOAUTHCLIENTSECRET string `json:"INF_APP_CONNECTION_GITHUB_OAUTH_CLIENT_SECRET"`- INFAPPCONNECTIONGITHUBRADARAPPCLIENTID string `json:"INF_APP_CONNECTION_GITHUB_RADAR_APP_CLIENT_ID"`- INFAPPCONNECTIONGITHUBRADARAPPCLIENTSECRET string `json:"INF_APP_CONNECTION_GITHUB_RADAR_APP_CLIENT_SECRET"`- INFAPPCONNECTIONGITHUBRADARAPPID string `json:"INF_APP_CONNECTION_GITHUB_RADAR_APP_ID"`- INFAPPCONNECTIONGITHUBRADARAPPPRIVATEKEY string `json:"INF_APP_CONNECTION_GITHUB_RADAR_APP_PRIVATE_KEY"`- INFAPPCONNECTIONGITHUBRADARAPPSLUG string `json:"INF_APP_CONNECTION_GITHUB_RADAR_APP_SLUG"`- INFAPPCONNECTIONGITHUBRADARAPPWEBHOOKSECRET string `json:"INF_APP_CONNECTION_GITHUB_RADAR_APP_WEBHOOK_SECRET"`- INFAPPCONNECTIONGITLABOAUTHCLIENTID string `json:"INF_APP_CONNECTION_GITLAB_OAUTH_CLIENT_ID"`- INFAPPCONNECTIONGITLABOAUTHCLIENTSECRET string `json:"INF_APP_CONNECTION_GITLAB_OAUTH_CLIENT_SECRET"`- INFAPPCONNECTIONHEROKUOAUTHCLIENTID string `json:"INF_APP_CONNECTION_HEROKU_OAUTH_CLIENT_ID"`- INFAPPCONNECTIONHEROKUOAUTHCLIENTSECRET string `json:"INF_APP_CONNECTION_HEROKU_OAUTH_CLIENT_SECRET"`- } `json:"envOverrides,omitempty"`- GitHubAppConnectionClientId *string `json:"gitHubAppConnectionClientId,omitempty"`- GitHubAppConnectionClientSecret *string `json:"gitHubAppConnectionClientSecret,omitempty"`- GitHubAppConnectionId *string `json:"gitHubAppConnectionId,omitempty"`- GitHubAppConnectionPrivateKey *string `json:"gitHubAppConnectionPrivateKey,omitempty"`- GitHubAppConnectionSlug *string `json:"gitHubAppConnectionSlug,omitempty"`- MicrosoftTeamsAppId *string `json:"microsoftTeamsAppId,omitempty"`- MicrosoftTeamsBotId *string `json:"microsoftTeamsBotId,omitempty"`- MicrosoftTeamsClientSecret *string `json:"microsoftTeamsClientSecret,omitempty"`- OnboardingCompleted *bool `json:"onboardingCompleted,omitempty"`- PageFrameContent *string `json:"pageFrameContent,omitempty"`- SlackClientId *string `json:"slackClientId,omitempty"`- SlackClientSecret *string `json:"slackClientSecret,omitempty"`- TrustLdapEmails *bool `json:"trustLdapEmails,omitempty"`+// Valid indicates whether the value is a known member of the ListSecretsV4ParamsIncludeImports enum.+func (e ListSecretsV4ParamsIncludeImports) Valid() bool {+ switch e {+ case ListSecretsV4ParamsIncludeImportsFalse:+ return true+ case ListSecretsV4ParamsIncludeImportsTrue:+ return true+ default:+ return false+ }}-// UpdateAdminConfigJSONBodyEnabledLoginMethods defines parameters for UpdateAdminConfig.-type UpdateAdminConfigJSONBodyEnabledLoginMethods string--// UpdateAdminConfig400JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.-type UpdateAdminConfig400JSONResponseBodyStatusCode float32+// Defines values for ListSecretsV4400JSONResponseBodyStatusCode.+const (+ ListSecretsV4400JSONResponseBodyStatusCodeN400 ListSecretsV4400JSONResponseBodyStatusCode = 400+)-// UpdateAdminConfig401JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.-type UpdateAdminConfig401JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the ListSecretsV4400JSONResponseBodyStatusCode enum.+func (e ListSecretsV4400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case ListSecretsV4400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }+}-// UpdateAdminConfig403JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.-type UpdateAdminConfig403JSONResponseBodyStatusCode float32+// Defines values for ListSecretsV4401JSONResponseBodyStatusCode.+const (+ ListSecretsV4401JSONResponseBodyStatusCodeN401 ListSecretsV4401JSONResponseBodyStatusCode = 401+)-// UpdateAdminConfig404JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.-type UpdateAdminConfig404JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the ListSecretsV4401JSONResponseBodyStatusCode enum.+func (e ListSecretsV4401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case ListSecretsV4401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }+}-// UpdateAdminConfig422JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.-type UpdateAdminConfig422JSONResponseBodyStatusCode float32+// Defines values for ListSecretsV4403JSONResponseBodyStatusCode.+const (+ ListSecretsV4403JSONResponseBodyStatusCodeN403 ListSecretsV4403JSONResponseBodyStatusCode = 403+)-// UpdateAdminConfig500JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.-type UpdateAdminConfig500JSONResponseBodyStatusCode float32+// Valid indicates whether the value is a known member of the ListSecretsV4403JSONResponseBodyStatusCode enum.+func (e ListSecretsV4403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case ListSecretsV4403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }+}-// CreateGitHubAppConnectionJSONBody defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody struct {- // Description An optional description for the GitHub Connection.- Description *string `json:"description,omitempty"`+// Defines values for ListSecretsV4404JSONResponseBodyStatusCode.+const (+ ListSecretsV4404JSONResponseBodyStatusCodeN404 ListSecretsV4404JSONResponseBodyStatusCode = 404+)- // GatewayId The Gateway ID to use for this connection.- GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`+// Valid indicates whether the value is a known member of the ListSecretsV4404JSONResponseBodyStatusCode enum.+func (e ListSecretsV4404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case ListSecretsV4404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }+}- // GatewayPoolId The Gateway Pool ID to use for this connection.- GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`+// Defines values for ListSecretsV4422JSONResponseBodyStatusCode.+const (+ ListSecretsV4422JSONResponseBodyStatusCodeN422 ListSecretsV4422JSONResponseBodyStatusCode = 422+)- // IsAutoRotationEnabled Not supported for GitHub Connections.- IsAutoRotationEnabled *CreateGitHubAppConnectionJSONBodyIsAutoRotationEnabled `json:"isAutoRotationEnabled,omitempty"`+// Valid indicates whether the value is a known member of the ListSecretsV4422JSONResponseBodyStatusCode enum.+func (e ListSecretsV4422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case ListSecretsV4422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }+}- // IsPlatformManagedCredentials Not supported for GitHub Connections.- IsPlatformManagedCredentials *CreateGitHubAppConnectionJSONBodyIsPlatformManagedCredentials `json:"isPlatformManagedCredentials,omitempty"`+// Defines values for ListSecretsV4500JSONResponseBodyStatusCode.+const (+ ListSecretsV4500JSONResponseBodyStatusCodeN500 ListSecretsV4500JSONResponseBodyStatusCode = 500+)- // Name The name of the GitHub Connection to create. Must be slug-friendly.- Name string `json:"name"`+// Valid indicates whether the value is a known member of the ListSecretsV4500JSONResponseBodyStatusCode enum.+func (e ListSecretsV4500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case ListSecretsV4500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }+}- // ProjectId The ID of the project to create the GitHub Connection in.- ProjectId *string `json:"projectId,omitempty"`+// Defines values for GetSecretByNameV4ParamsType.+const (+ GetSecretByNameV4ParamsTypePersonal GetSecretByNameV4ParamsType = "personal"+ GetSecretByNameV4ParamsTypeShared GetSecretByNameV4ParamsType = "shared"+)- // Rotation Not supported for GitHub Connections.- Rotation *CreateGitHubAppConnectionJSONBody_Rotation `json:"rotation,omitempty"`- union json.RawMessage+// Valid indicates whether the value is a known member of the GetSecretByNameV4ParamsType enum.+func (e GetSecretByNameV4ParamsType) Valid() bool {+ switch e {+ case GetSecretByNameV4ParamsTypePersonal:+ return true+ case GetSecretByNameV4ParamsTypeShared:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBodyIsAutoRotationEnabled defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBodyIsAutoRotationEnabled bool--// CreateGitHubAppConnectionJSONBodyIsPlatformManagedCredentials defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBodyIsPlatformManagedCredentials bool+// Defines values for GetSecretByNameV4ParamsViewSecretValue.+const (+ GetSecretByNameV4ParamsViewSecretValueFalse GetSecretByNameV4ParamsViewSecretValue = "false"+ GetSecretByNameV4ParamsViewSecretValueTrue GetSecretByNameV4ParamsViewSecretValue = "true"+)-// CreateGitHubAppConnectionJSONBodyRotation0 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBodyRotation0 = interface{}+// Valid indicates whether the value is a known member of the GetSecretByNameV4ParamsViewSecretValue enum.+func (e GetSecretByNameV4ParamsViewSecretValue) Valid() bool {+ switch e {+ case GetSecretByNameV4ParamsViewSecretValueFalse:+ return true+ case GetSecretByNameV4ParamsViewSecretValueTrue:+ return true+ default:+ return false+ }+}-// CreateGitHubAppConnectionJSONBodyRotation1 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBodyRotation1 = interface{}+// Defines values for GetSecretByNameV4ParamsExpandSecretReferences.+const (+ GetSecretByNameV4ParamsExpandSecretReferencesFalse GetSecretByNameV4ParamsExpandSecretReferences = "false"+ GetSecretByNameV4ParamsExpandSecretReferencesTrue GetSecretByNameV4ParamsExpandSecretReferences = "true"+)-// CreateGitHubAppConnectionJSONBody_Rotation defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody_Rotation struct {- union json.RawMessage+// Valid indicates whether the value is a known member of the GetSecretByNameV4ParamsExpandSecretReferences enum.+func (e GetSecretByNameV4ParamsExpandSecretReferences) Valid() bool {+ switch e {+ case GetSecretByNameV4ParamsExpandSecretReferencesFalse:+ return true+ case GetSecretByNameV4ParamsExpandSecretReferencesTrue:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody0 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody0 struct {- // Credentials The credentials used to connect with GitHub.- Credentials CreateGitHubAppConnectionJSONBody_0_Credentials `json:"credentials"`+// Defines values for GetSecretByNameV4ParamsIncludeImports.+const (+ GetSecretByNameV4ParamsIncludeImportsFalse GetSecretByNameV4ParamsIncludeImports = "false"+ GetSecretByNameV4ParamsIncludeImportsTrue GetSecretByNameV4ParamsIncludeImports = "true"+)- // Method The method used to authenticate with GitHub.- Method CreateGitHubAppConnectionJSONBody0Method `json:"method"`+// Valid indicates whether the value is a known member of the GetSecretByNameV4ParamsIncludeImports enum.+func (e GetSecretByNameV4ParamsIncludeImports) Valid() bool {+ switch e {+ case GetSecretByNameV4ParamsIncludeImportsFalse:+ return true+ case GetSecretByNameV4ParamsIncludeImportsTrue:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody0Credentials0 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody0Credentials0 struct {- Code string `json:"code"`- GitHubAppId *openapi_types.UUID `json:"gitHubAppId,omitempty"`- Host string `json:"host"`- InstallationId string `json:"installationId"`- InstanceType CreateGitHubAppConnectionJSONBody0Credentials0InstanceType `json:"instanceType"`+// Defines values for GetSecretByNameV4400JSONResponseBodyStatusCode.+const (+ GetSecretByNameV4400JSONResponseBodyStatusCodeN400 GetSecretByNameV4400JSONResponseBodyStatusCode = 400+)++// Valid indicates whether the value is a known member of the GetSecretByNameV4400JSONResponseBodyStatusCode enum.+func (e GetSecretByNameV4400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretByNameV4400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody0Credentials0InstanceType defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody0Credentials0InstanceType string+// Defines values for GetSecretByNameV4401JSONResponseBodyStatusCode.+const (+ GetSecretByNameV4401JSONResponseBodyStatusCodeN401 GetSecretByNameV4401JSONResponseBodyStatusCode = 401+)-// CreateGitHubAppConnectionJSONBody0Credentials1 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody0Credentials1 struct {- Code string `json:"code"`- GitHubAppId *openapi_types.UUID `json:"gitHubAppId,omitempty"`- Host *string `json:"host,omitempty"`- InstallationId string `json:"installationId"`- InstanceType *CreateGitHubAppConnectionJSONBody0Credentials1InstanceType `json:"instanceType,omitempty"`+// Valid indicates whether the value is a known member of the GetSecretByNameV4401JSONResponseBodyStatusCode enum.+func (e GetSecretByNameV4401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretByNameV4401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody0Credentials1InstanceType defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody0Credentials1InstanceType string+// Defines values for GetSecretByNameV4403JSONResponseBodyStatusCode.+const (+ GetSecretByNameV4403JSONResponseBodyStatusCodeN403 GetSecretByNameV4403JSONResponseBodyStatusCode = 403+)-// CreateGitHubAppConnectionJSONBody_0_Credentials defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody_0_Credentials struct {- union json.RawMessage+// Valid indicates whether the value is a known member of the GetSecretByNameV4403JSONResponseBodyStatusCode enum.+func (e GetSecretByNameV4403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretByNameV4403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody0Method defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody0Method string--// CreateGitHubAppConnectionJSONBody1 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody1 struct {- // Credentials The credentials used to connect with GitHub.- Credentials CreateGitHubAppConnectionJSONBody_1_Credentials `json:"credentials"`+// Defines values for GetSecretByNameV4404JSONResponseBodyStatusCode.+const (+ GetSecretByNameV4404JSONResponseBodyStatusCodeN404 GetSecretByNameV4404JSONResponseBodyStatusCode = 404+)- // Method The method used to authenticate with GitHub.- Method CreateGitHubAppConnectionJSONBody1Method `json:"method"`+// Valid indicates whether the value is a known member of the GetSecretByNameV4404JSONResponseBodyStatusCode enum.+func (e GetSecretByNameV4404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretByNameV4404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody1Credentials0 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody1Credentials0 struct {- Code string `json:"code"`- Host string `json:"host"`- InstanceType CreateGitHubAppConnectionJSONBody1Credentials0InstanceType `json:"instanceType"`+// Defines values for GetSecretByNameV4422JSONResponseBodyStatusCode.+const (+ GetSecretByNameV4422JSONResponseBodyStatusCodeN422 GetSecretByNameV4422JSONResponseBodyStatusCode = 422+)++// Valid indicates whether the value is a known member of the GetSecretByNameV4422JSONResponseBodyStatusCode enum.+func (e GetSecretByNameV4422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretByNameV4422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody1Credentials0InstanceType defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody1Credentials0InstanceType string+// Defines values for GetSecretByNameV4500JSONResponseBodyStatusCode.+const (+ GetSecretByNameV4500JSONResponseBodyStatusCodeN500 GetSecretByNameV4500JSONResponseBodyStatusCode = 500+)-// CreateGitHubAppConnectionJSONBody1Credentials1 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody1Credentials1 struct {- Code string `json:"code"`- Host *string `json:"host,omitempty"`- InstanceType *CreateGitHubAppConnectionJSONBody1Credentials1InstanceType `json:"instanceType,omitempty"`+// Valid indicates whether the value is a known member of the GetSecretByNameV4500JSONResponseBodyStatusCode enum.+func (e GetSecretByNameV4500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case GetSecretByNameV4500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody1Credentials1InstanceType defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody1Credentials1InstanceType string+// Defines values for CreateSecretV4JSONBodyType.+const (+ CreateSecretV4JSONBodyTypePersonal CreateSecretV4JSONBodyType = "personal"+ CreateSecretV4JSONBodyTypeShared CreateSecretV4JSONBodyType = "shared"+)-// CreateGitHubAppConnectionJSONBody_1_Credentials defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody_1_Credentials struct {- union json.RawMessage+// Valid indicates whether the value is a known member of the CreateSecretV4JSONBodyType enum.+func (e CreateSecretV4JSONBodyType) Valid() bool {+ switch e {+ case CreateSecretV4JSONBodyTypePersonal:+ return true+ case CreateSecretV4JSONBodyTypeShared:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody1Method defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody1Method string+// Defines values for CreateSecretV4400JSONResponseBodyStatusCode.+const (+ CreateSecretV4400JSONResponseBodyStatusCodeN400 CreateSecretV4400JSONResponseBodyStatusCode = 400+)-// CreateGitHubAppConnectionJSONBody2 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody2 struct {- // Credentials The credentials used to connect with GitHub.- Credentials CreateGitHubAppConnectionJSONBody_2_Credentials `json:"credentials"`+// Valid indicates whether the value is a known member of the CreateSecretV4400JSONResponseBodyStatusCode enum.+func (e CreateSecretV4400JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateSecretV4400JSONResponseBodyStatusCodeN400:+ return true+ default:+ return false+ }+}- // Method The method used to authenticate with GitHub.- Method CreateGitHubAppConnectionJSONBody2Method `json:"method"`+// Defines values for CreateSecretV4401JSONResponseBodyStatusCode.+const (+ CreateSecretV4401JSONResponseBodyStatusCodeN401 CreateSecretV4401JSONResponseBodyStatusCode = 401+)++// Valid indicates whether the value is a known member of the CreateSecretV4401JSONResponseBodyStatusCode enum.+func (e CreateSecretV4401JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateSecretV4401JSONResponseBodyStatusCodeN401:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody2Credentials0 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody2Credentials0 struct {- Host string `json:"host"`- InstanceType CreateGitHubAppConnectionJSONBody2Credentials0InstanceType `json:"instanceType"`- PersonalAccessToken string `json:"personalAccessToken"`+// Defines values for CreateSecretV4403JSONResponseBodyStatusCode.+const (+ CreateSecretV4403JSONResponseBodyStatusCodeN403 CreateSecretV4403JSONResponseBodyStatusCode = 403+)++// Valid indicates whether the value is a known member of the CreateSecretV4403JSONResponseBodyStatusCode enum.+func (e CreateSecretV4403JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateSecretV4403JSONResponseBodyStatusCodeN403:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody2Credentials0InstanceType defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody2Credentials0InstanceType string+// Defines values for CreateSecretV4404JSONResponseBodyStatusCode.+const (+ CreateSecretV4404JSONResponseBodyStatusCodeN404 CreateSecretV4404JSONResponseBodyStatusCode = 404+)-// CreateGitHubAppConnectionJSONBody2Credentials1 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody2Credentials1 struct {- Host *string `json:"host,omitempty"`- InstanceType *CreateGitHubAppConnectionJSONBody2Credentials1InstanceType `json:"instanceType,omitempty"`- PersonalAccessToken string `json:"personalAccessToken"`+// Valid indicates whether the value is a known member of the CreateSecretV4404JSONResponseBodyStatusCode enum.+func (e CreateSecretV4404JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateSecretV4404JSONResponseBodyStatusCodeN404:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody2Credentials1InstanceType defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody2Credentials1InstanceType string+// Defines values for CreateSecretV4422JSONResponseBodyStatusCode.+const (+ CreateSecretV4422JSONResponseBodyStatusCodeN422 CreateSecretV4422JSONResponseBodyStatusCode = 422+)-// CreateGitHubAppConnectionJSONBody_2_Credentials defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody_2_Credentials struct {- union json.RawMessage+// Valid indicates whether the value is a known member of the CreateSecretV4422JSONResponseBodyStatusCode enum.+func (e CreateSecretV4422JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateSecretV4422JSONResponseBodyStatusCodeN422:+ return true+ default:+ return false+ }}-// CreateGitHubAppConnectionJSONBody2Method defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnectionJSONBody2Method string+// Defines values for CreateSecretV4500JSONResponseBodyStatusCode.+const (+ CreateSecretV4500JSONResponseBodyStatusCodeN500 CreateSecretV4500JSONResponseBodyStatusCode = 500+)-// CreateGitHubAppConnection200JSONResponseBodyAppConnection0 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection0 struct {- App CreateGitHubAppConnection200JSONResponseBodyAppConnection0App `json:"app"`- CreatedAt time.Time `json:"createdAt"`- Credentials struct {- GitHubAppId *openapi_types.UUID `json:"gitHubAppId,omitempty"`- Host *string `json:"host,omitempty"`- InstanceType *CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType `json:"instanceType,omitempty"`- } `json:"credentials"`- CredentialsHash *string `json:"credentialsHash,omitempty"`- Description *string `json:"description,omitempty"`- GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`- GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`- Id openapi_types.UUID `json:"id"`- IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`- IsPlatformManagedCredentials *bool `json:"isPlatformManagedCredentials,omitempty"`- Method CreateGitHubAppConnection200JSONResponseBodyAppConnection0Method `json:"method"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- Project *struct {- Id string `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- Type string `json:"type"`- } `json:"project,omitempty"`- ProjectId *string `json:"projectId,omitempty"`+// Valid indicates whether the value is a known member of the CreateSecretV4500JSONResponseBodyStatusCode enum.+func (e CreateSecretV4500JSONResponseBodyStatusCode) Valid() bool {+ switch e {+ case CreateSecretV4500JSONResponseBodyStatusCodeN500:+ return true+ default:+ return false+ }+}- // Rotation The credential rotation configuration, if configured.- Rotation *struct {- // LastRotationMessage The message from the last rotation attempt.- LastRotationMessage *string `json:"lastRotationMessage,omitempty"`+// GetServerStatus400JSONResponseBodyStatusCode defines parameters for GetServerStatus.+type GetServerStatus400JSONResponseBodyStatusCode float32- // NextRotationAt The next scheduled rotation time.- NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`+// GetServerStatus401JSONResponseBodyStatusCode defines parameters for GetServerStatus.+type GetServerStatus401JSONResponseBodyStatusCode float32- // RotateAtUtc The UTC time of day at which rotation should occur.- RotateAtUtc struct {- // Hours The hour (0-23) at which to rotate.- Hours float32 `json:"hours"`+// GetServerStatus403JSONResponseBodyStatusCode defines parameters for GetServerStatus.+type GetServerStatus403JSONResponseBodyStatusCode float32- // Minutes The minute (0-59) at which to rotate.- Minutes float32 `json:"minutes"`- } `json:"rotateAtUtc"`+// GetServerStatus404JSONResponseBodyStatusCode defines parameters for GetServerStatus.+type GetServerStatus404JSONResponseBodyStatusCode float32- // RotationInterval The interval in days between credential rotations.- RotationInterval float32 `json:"rotationInterval"`+// GetServerStatus422JSONResponseBodyStatusCode defines parameters for GetServerStatus.+type GetServerStatus422JSONResponseBodyStatusCode float32- // RotationStatus The status of the last rotation attempt.- RotationStatus CreateGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus `json:"rotationStatus"`- } `json:"rotation,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- Version *float32 `json:"version,omitempty"`+// GetServerStatus500JSONResponseBodyStatusCode defines parameters for GetServerStatus.+type GetServerStatus500JSONResponseBodyStatusCode float32++// AdminBootstrapJSONBody defines parameters for AdminBootstrap.+type AdminBootstrapJSONBody struct {+ Email openapi_types.Email `json:"email"`+ Organization string `json:"organization"`+ Password string `json:"password"`}-// CreateGitHubAppConnection200JSONResponseBodyAppConnection0App defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection0App string+// AdminBootstrap400JSONResponseBodyStatusCode defines parameters for AdminBootstrap.+type AdminBootstrap400JSONResponseBodyStatusCode float32-// CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 string+// AdminBootstrap401JSONResponseBodyStatusCode defines parameters for AdminBootstrap.+type AdminBootstrap401JSONResponseBodyStatusCode float32-// CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 string+// AdminBootstrap403JSONResponseBodyStatusCode defines parameters for AdminBootstrap.+type AdminBootstrap403JSONResponseBodyStatusCode float32-// CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType struct {- union json.RawMessage-}+// AdminBootstrap404JSONResponseBodyStatusCode defines parameters for AdminBootstrap.+type AdminBootstrap404JSONResponseBodyStatusCode float32-// CreateGitHubAppConnection200JSONResponseBodyAppConnection0Method defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection0Method string+// AdminBootstrap422JSONResponseBodyStatusCode defines parameters for AdminBootstrap.+type AdminBootstrap422JSONResponseBodyStatusCode float32-// CreateGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus string+// AdminBootstrap500JSONResponseBodyStatusCode defines parameters for AdminBootstrap.+type AdminBootstrap500JSONResponseBodyStatusCode float32-// CreateGitHubAppConnection200JSONResponseBodyAppConnection1 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection1 struct {- App CreateGitHubAppConnection200JSONResponseBodyAppConnection1App `json:"app"`- CreatedAt time.Time `json:"createdAt"`- Credentials struct {- Host *string `json:"host,omitempty"`- InstanceType *CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType `json:"instanceType,omitempty"`- } `json:"credentials"`- CredentialsHash *string `json:"credentialsHash,omitempty"`- Description *string `json:"description,omitempty"`- GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`- GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`- Id openapi_types.UUID `json:"id"`- IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`- IsPlatformManagedCredentials *bool `json:"isPlatformManagedCredentials,omitempty"`- Method CreateGitHubAppConnection200JSONResponseBodyAppConnection1Method `json:"method"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- Project *struct {- Id string `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- Type string `json:"type"`- } `json:"project,omitempty"`- ProjectId *string `json:"projectId,omitempty"`+// UpdateAdminConfigJSONBody defines parameters for UpdateAdminConfig.+type UpdateAdminConfigJSONBody struct {+ AllowSignUp *bool `json:"allowSignUp,omitempty"`+ AllowedSignUpDomain *string `json:"allowedSignUpDomain,omitempty"`+ AuthConsentContent *string `json:"authConsentContent,omitempty"`+ DefaultAuthOrgId *string `json:"defaultAuthOrgId,omitempty"`+ EnabledLoginMethods *[]UpdateAdminConfigJSONBodyEnabledLoginMethods `json:"enabledLoginMethods,omitempty"`+ EnvOverrides *struct {+ CLIENTGITLABLOGINURL string `json:"CLIENT_GITLAB_LOGIN_URL"`+ CLIENTIDGITHUBLOGIN string `json:"CLIENT_ID_GITHUB_LOGIN"`+ CLIENTIDGITLABLOGIN string `json:"CLIENT_ID_GITLAB_LOGIN"`+ CLIENTIDGOOGLELOGIN string `json:"CLIENT_ID_GOOGLE_LOGIN"`+ CLIENTSECRETGITHUBLOGIN string `json:"CLIENT_SECRET_GITHUB_LOGIN"`+ CLIENTSECRETGITLABLOGIN string `json:"CLIENT_SECRET_GITLAB_LOGIN"`+ CLIENTSECRETGOOGLELOGIN string `json:"CLIENT_SECRET_GOOGLE_LOGIN"`+ DISABLEAUDITLOGSTORAGE string `json:"DISABLE_AUDIT_LOG_STORAGE"`+ DISABLEPOSTGRESAUDITLOGSTORAGE string `json:"DISABLE_POSTGRES_AUDIT_LOG_STORAGE"`+ DISABLEPUBLICSECRETSHARING string `json:"DISABLE_PUBLIC_SECRET_SHARING"`+ INFAPPCONNECTIONAWSACCESSKEYID string `json:"INF_APP_CONNECTION_AWS_ACCESS_KEY_ID"`+ INFAPPCONNECTIONAWSSECRETACCESSKEY string `json:"INF_APP_CONNECTION_AWS_SECRET_ACCESS_KEY"`+ INFAPPCONNECTIONAZUREAPPCONFIGURATIONCLIENTID string `json:"INF_APP_CONNECTION_AZURE_APP_CONFIGURATION_CLIENT_ID"`+ INFAPPCONNECTIONAZUREAPPCONFIGURATIONCLIENTSECRET string `json:"INF_APP_CONNECTION_AZURE_APP_CONFIGURATION_CLIENT_SECRET"`+ INFAPPCONNECTIONAZURECLIENTSECRETSCLIENTID string `json:"INF_APP_CONNECTION_AZURE_CLIENT_SECRETS_CLIENT_ID"`+ INFAPPCONNECTIONAZURECLIENTSECRETSCLIENTSECRET string `json:"INF_APP_CONNECTION_AZURE_CLIENT_SECRETS_CLIENT_SECRET"`+ INFAPPCONNECTIONAZUREDEVOPSCLIENTID string `json:"INF_APP_CONNECTION_AZURE_DEVOPS_CLIENT_ID"`+ INFAPPCONNECTIONAZUREDEVOPSCLIENTSECRET string `json:"INF_APP_CONNECTION_AZURE_DEVOPS_CLIENT_SECRET"`+ INFAPPCONNECTIONAZUREKEYVAULTCLIENTID string `json:"INF_APP_CONNECTION_AZURE_KEY_VAULT_CLIENT_ID"`+ INFAPPCONNECTIONAZUREKEYVAULTCLIENTSECRET string `json:"INF_APP_CONNECTION_AZURE_KEY_VAULT_CLIENT_SECRET"`+ INFAPPCONNECTIONGCPSERVICEACCOUNTCREDENTIAL string `json:"INF_APP_CONNECTION_GCP_SERVICE_ACCOUNT_CREDENTIAL"`+ INFAPPCONNECTIONGITHUBAPPCLIENTID string `json:"INF_APP_CONNECTION_GITHUB_APP_CLIENT_ID"`+ INFAPPCONNECTIONGITHUBAPPCLIENTSECRET string `json:"INF_APP_CONNECTION_GITHUB_APP_CLIENT_SECRET"`+ INFAPPCONNECTIONGITHUBAPPHOST string `json:"INF_APP_CONNECTION_GITHUB_APP_HOST"`+ INFAPPCONNECTIONGITHUBAPPID string `json:"INF_APP_CONNECTION_GITHUB_APP_ID"`+ INFAPPCONNECTIONGITHUBAPPPRIVATEKEY string `json:"INF_APP_CONNECTION_GITHUB_APP_PRIVATE_KEY"`+ INFAPPCONNECTIONGITHUBAPPSLUG string `json:"INF_APP_CONNECTION_GITHUB_APP_SLUG"`+ INFAPPCONNECTIONGITHUBOAUTHCLIENTID string `json:"INF_APP_CONNECTION_GITHUB_OAUTH_CLIENT_ID"`+ INFAPPCONNECTIONGITHUBOAUTHCLIENTSECRET string `json:"INF_APP_CONNECTION_GITHUB_OAUTH_CLIENT_SECRET"`+ INFAPPCONNECTIONGITHUBRADARAPPCLIENTID string `json:"INF_APP_CONNECTION_GITHUB_RADAR_APP_CLIENT_ID"`+ INFAPPCONNECTIONGITHUBRADARAPPCLIENTSECRET string `json:"INF_APP_CONNECTION_GITHUB_RADAR_APP_CLIENT_SECRET"`+ INFAPPCONNECTIONGITHUBRADARAPPID string `json:"INF_APP_CONNECTION_GITHUB_RADAR_APP_ID"`+ INFAPPCONNECTIONGITHUBRADARAPPPRIVATEKEY string `json:"INF_APP_CONNECTION_GITHUB_RADAR_APP_PRIVATE_KEY"`+ INFAPPCONNECTIONGITHUBRADARAPPSLUG string `json:"INF_APP_CONNECTION_GITHUB_RADAR_APP_SLUG"`+ INFAPPCONNECTIONGITHUBRADARAPPWEBHOOKSECRET string `json:"INF_APP_CONNECTION_GITHUB_RADAR_APP_WEBHOOK_SECRET"`+ INFAPPCONNECTIONGITLABOAUTHCLIENTID string `json:"INF_APP_CONNECTION_GITLAB_OAUTH_CLIENT_ID"`+ INFAPPCONNECTIONGITLABOAUTHCLIENTSECRET string `json:"INF_APP_CONNECTION_GITLAB_OAUTH_CLIENT_SECRET"`+ INFAPPCONNECTIONHEROKUOAUTHCLIENTID string `json:"INF_APP_CONNECTION_HEROKU_OAUTH_CLIENT_ID"`+ INFAPPCONNECTIONHEROKUOAUTHCLIENTSECRET string `json:"INF_APP_CONNECTION_HEROKU_OAUTH_CLIENT_SECRET"`+ } `json:"envOverrides,omitempty"`+ GitHubAppConnectionClientId *string `json:"gitHubAppConnectionClientId,omitempty"`+ GitHubAppConnectionClientSecret *string `json:"gitHubAppConnectionClientSecret,omitempty"`+ GitHubAppConnectionId *string `json:"gitHubAppConnectionId,omitempty"`+ GitHubAppConnectionPrivateKey *string `json:"gitHubAppConnectionPrivateKey,omitempty"`+ GitHubAppConnectionSlug *string `json:"gitHubAppConnectionSlug,omitempty"`+ MicrosoftTeamsAppId *string `json:"microsoftTeamsAppId,omitempty"`+ MicrosoftTeamsBotId *string `json:"microsoftTeamsBotId,omitempty"`+ MicrosoftTeamsClientSecret *string `json:"microsoftTeamsClientSecret,omitempty"`+ OnboardingCompleted *bool `json:"onboardingCompleted,omitempty"`+ PageFrameContent *string `json:"pageFrameContent,omitempty"`+ SlackClientId *string `json:"slackClientId,omitempty"`+ SlackClientSecret *string `json:"slackClientSecret,omitempty"`+ TrustLdapEmails *bool `json:"trustLdapEmails,omitempty"`+}- // Rotation The credential rotation configuration, if configured.- Rotation *struct {- // LastRotationMessage The message from the last rotation attempt.- LastRotationMessage *string `json:"lastRotationMessage,omitempty"`+// UpdateAdminConfigJSONBodyEnabledLoginMethods defines parameters for UpdateAdminConfig.+type UpdateAdminConfigJSONBodyEnabledLoginMethods string- // NextRotationAt The next scheduled rotation time.- NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`+// UpdateAdminConfig400JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.+type UpdateAdminConfig400JSONResponseBodyStatusCode float32- // RotateAtUtc The UTC time of day at which rotation should occur.- RotateAtUtc struct {- // Hours The hour (0-23) at which to rotate.- Hours float32 `json:"hours"`+// UpdateAdminConfig401JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.+type UpdateAdminConfig401JSONResponseBodyStatusCode float32- // Minutes The minute (0-59) at which to rotate.- Minutes float32 `json:"minutes"`- } `json:"rotateAtUtc"`+// UpdateAdminConfig403JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.+type UpdateAdminConfig403JSONResponseBodyStatusCode float32- // RotationInterval The interval in days between credential rotations.- RotationInterval float32 `json:"rotationInterval"`+// UpdateAdminConfig404JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.+type UpdateAdminConfig404JSONResponseBodyStatusCode float32- // RotationStatus The status of the last rotation attempt.- RotationStatus CreateGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus `json:"rotationStatus"`- } `json:"rotation,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- Version *float32 `json:"version,omitempty"`-}+// UpdateAdminConfig422JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.+type UpdateAdminConfig422JSONResponseBodyStatusCode float32-// CreateGitHubAppConnection200JSONResponseBodyAppConnection1App defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection1App string+// UpdateAdminConfig500JSONResponseBodyStatusCode defines parameters for UpdateAdminConfig.+type UpdateAdminConfig500JSONResponseBodyStatusCode float32-// CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 string+// CreateGitHubAppConnectionJSONBody defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody struct {+ // Description An optional description for the GitHub Connection.+ Description *string `json:"description,omitempty"`-// CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 string+ // GatewayId The Gateway ID to use for this connection.+ GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`-// CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType struct {- union json.RawMessage-}+ // GatewayPoolId The Gateway Pool ID to use for this connection.+ GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`-// CreateGitHubAppConnection200JSONResponseBodyAppConnection1Method defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection1Method string+ // IsAutoRotationEnabled Not supported for GitHub Connections.+ IsAutoRotationEnabled *CreateGitHubAppConnectionJSONBodyIsAutoRotationEnabled `json:"isAutoRotationEnabled,omitempty"`-// CreateGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus string+ // IsPlatformManagedCredentials Not supported for GitHub Connections.+ IsPlatformManagedCredentials *CreateGitHubAppConnectionJSONBodyIsPlatformManagedCredentials `json:"isPlatformManagedCredentials,omitempty"`-// CreateGitHubAppConnection200JSONResponseBodyAppConnection2 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection2 struct {- App CreateGitHubAppConnection200JSONResponseBodyAppConnection2App `json:"app"`- CreatedAt time.Time `json:"createdAt"`- Credentials struct {- Host *string `json:"host,omitempty"`- InstanceType *CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType `json:"instanceType,omitempty"`- } `json:"credentials"`- CredentialsHash *string `json:"credentialsHash,omitempty"`- Description *string `json:"description,omitempty"`- GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`- GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`- Id openapi_types.UUID `json:"id"`- IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`- IsPlatformManagedCredentials *bool `json:"isPlatformManagedCredentials,omitempty"`- Method CreateGitHubAppConnection200JSONResponseBodyAppConnection2Method `json:"method"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- Project *struct {- Id string `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- Type string `json:"type"`- } `json:"project,omitempty"`+ // Name The name of the GitHub Connection to create. Must be slug-friendly.+ Name string `json:"name"`++ // ProjectId The ID of the project to create the GitHub Connection in.ProjectId *string `json:"projectId,omitempty"`- // Rotation The credential rotation configuration, if configured.- Rotation *struct {- // LastRotationMessage The message from the last rotation attempt.- LastRotationMessage *string `json:"lastRotationMessage,omitempty"`+ // Rotation Not supported for GitHub Connections.+ Rotation *CreateGitHubAppConnectionJSONBody_Rotation `json:"rotation,omitempty"`+ union json.RawMessage+}- // NextRotationAt The next scheduled rotation time.- NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`+// CreateGitHubAppConnectionJSONBodyIsAutoRotationEnabled defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBodyIsAutoRotationEnabled bool- // RotateAtUtc The UTC time of day at which rotation should occur.- RotateAtUtc struct {- // Hours The hour (0-23) at which to rotate.- Hours float32 `json:"hours"`+// CreateGitHubAppConnectionJSONBodyIsPlatformManagedCredentials defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBodyIsPlatformManagedCredentials bool- // Minutes The minute (0-59) at which to rotate.- Minutes float32 `json:"minutes"`- } `json:"rotateAtUtc"`+// CreateGitHubAppConnectionJSONBodyRotation0 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBodyRotation0 = interface{}- // RotationInterval The interval in days between credential rotations.- RotationInterval float32 `json:"rotationInterval"`+// CreateGitHubAppConnectionJSONBodyRotation1 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBodyRotation1 = interface{}- // RotationStatus The status of the last rotation attempt.- RotationStatus CreateGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus `json:"rotationStatus"`- } `json:"rotation,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- Version *float32 `json:"version,omitempty"`+// CreateGitHubAppConnectionJSONBody_Rotation defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody_Rotation struct {+ union json.RawMessage}-// CreateGitHubAppConnection200JSONResponseBodyAppConnection2App defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection2App string--// CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 string+// CreateGitHubAppConnectionJSONBody0 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody0 struct {+ // Credentials The credentials used to connect with GitHub.+ Credentials CreateGitHubAppConnectionJSONBody_0_Credentials `json:"credentials"`-// CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 string+ // Method The method used to authenticate with GitHub.+ Method CreateGitHubAppConnectionJSONBody0Method `json:"method"`+}-// CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType struct {- union json.RawMessage+// CreateGitHubAppConnectionJSONBody0Credentials0 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody0Credentials0 struct {+ Code string `json:"code"`+ GitHubAppId *openapi_types.UUID `json:"gitHubAppId,omitempty"`+ Host string `json:"host"`+ InstallationId string `json:"installationId"`+ InstanceType CreateGitHubAppConnectionJSONBody0Credentials0InstanceType `json:"instanceType"`}-// CreateGitHubAppConnection200JSONResponseBodyAppConnection2Method defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection2Method string+// CreateGitHubAppConnectionJSONBody0Credentials0InstanceType defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody0Credentials0InstanceType string-// CreateGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus string+// CreateGitHubAppConnectionJSONBody0Credentials1 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody0Credentials1 struct {+ Code string `json:"code"`+ GitHubAppId *openapi_types.UUID `json:"gitHubAppId,omitempty"`+ Host *string `json:"host,omitempty"`+ InstallationId string `json:"installationId"`+ InstanceType *CreateGitHubAppConnectionJSONBody0Credentials1InstanceType `json:"instanceType,omitempty"`+}-// CreateGitHubAppConnection200JSONResponseBody_AppConnection defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection200JSONResponseBody_AppConnection struct {+// CreateGitHubAppConnectionJSONBody0Credentials1InstanceType defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody0Credentials1InstanceType string++// CreateGitHubAppConnectionJSONBody_0_Credentials defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody_0_Credentials struct {union json.RawMessage}-// CreateGitHubAppConnection400JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection400JSONResponseBodyStatusCode float32+// CreateGitHubAppConnectionJSONBody0Method defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody0Method string-// CreateGitHubAppConnection401JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection401JSONResponseBodyStatusCode float32+// CreateGitHubAppConnectionJSONBody1 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody1 struct {+ // Credentials The credentials used to connect with GitHub.+ Credentials CreateGitHubAppConnectionJSONBody_1_Credentials `json:"credentials"`-// CreateGitHubAppConnection403JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection403JSONResponseBodyStatusCode float32+ // Method The method used to authenticate with GitHub.+ Method CreateGitHubAppConnectionJSONBody1Method `json:"method"`+}-// CreateGitHubAppConnection404JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection404JSONResponseBodyStatusCode float32+// CreateGitHubAppConnectionJSONBody1Credentials0 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody1Credentials0 struct {+ Code string `json:"code"`+ Host string `json:"host"`+ InstanceType CreateGitHubAppConnectionJSONBody1Credentials0InstanceType `json:"instanceType"`+}-// CreateGitHubAppConnection422JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection422JSONResponseBodyStatusCode float32+// CreateGitHubAppConnectionJSONBody1Credentials0InstanceType defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody1Credentials0InstanceType string-// CreateGitHubAppConnection500JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.-type CreateGitHubAppConnection500JSONResponseBodyStatusCode float32+// CreateGitHubAppConnectionJSONBody1Credentials1 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody1Credentials1 struct {+ Code string `json:"code"`+ Host *string `json:"host,omitempty"`+ InstanceType *CreateGitHubAppConnectionJSONBody1Credentials1InstanceType `json:"instanceType,omitempty"`+}-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0 defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0 struct {- App DeleteGitHubAppConnection200JSONResponseBodyAppConnection0App `json:"app"`+// CreateGitHubAppConnectionJSONBody1Credentials1InstanceType defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody1Credentials1InstanceType string++// CreateGitHubAppConnectionJSONBody_1_Credentials defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody_1_Credentials struct {+ union json.RawMessage+}++// CreateGitHubAppConnectionJSONBody1Method defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody1Method string++// CreateGitHubAppConnectionJSONBody2 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody2 struct {+ // Credentials The credentials used to connect with GitHub.+ Credentials CreateGitHubAppConnectionJSONBody_2_Credentials `json:"credentials"`++ // Method The method used to authenticate with GitHub.+ Method CreateGitHubAppConnectionJSONBody2Method `json:"method"`+}++// CreateGitHubAppConnectionJSONBody2Credentials0 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody2Credentials0 struct {+ Host string `json:"host"`+ InstanceType CreateGitHubAppConnectionJSONBody2Credentials0InstanceType `json:"instanceType"`+ PersonalAccessToken string `json:"personalAccessToken"`+}++// CreateGitHubAppConnectionJSONBody2Credentials0InstanceType defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody2Credentials0InstanceType string++// CreateGitHubAppConnectionJSONBody2Credentials1 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody2Credentials1 struct {+ Host *string `json:"host,omitempty"`+ InstanceType *CreateGitHubAppConnectionJSONBody2Credentials1InstanceType `json:"instanceType,omitempty"`+ PersonalAccessToken string `json:"personalAccessToken"`+}++// CreateGitHubAppConnectionJSONBody2Credentials1InstanceType defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody2Credentials1InstanceType string++// CreateGitHubAppConnectionJSONBody_2_Credentials defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody_2_Credentials struct {+ union json.RawMessage+}++// CreateGitHubAppConnectionJSONBody2Method defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnectionJSONBody2Method string++// CreateGitHubAppConnection200JSONResponseBodyAppConnection0 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection0 struct {+ App CreateGitHubAppConnection200JSONResponseBodyAppConnection0App `json:"app"`CreatedAt time.Time `json:"createdAt"`Credentials struct {GitHubAppId *openapi_types.UUID `json:"gitHubAppId,omitempty"`Host *string `json:"host,omitempty"`- InstanceType *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType `json:"instanceType,omitempty"`+ InstanceType *CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType `json:"instanceType,omitempty"`} `json:"credentials"`CredentialsHash *string `json:"credentialsHash,omitempty"`Description *string `json:"description,omitempty"`@@ -3708,7 +3915,7 @@ type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0 struct {Id openapi_types.UUID `json:"id"`IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`IsPlatformManagedCredentials *bool `json:"isPlatformManagedCredentials,omitempty"`- Method DeleteGitHubAppConnection200JSONResponseBodyAppConnection0Method `json:"method"`+ Method CreateGitHubAppConnection200JSONResponseBodyAppConnection0Method `json:"method"`Name string `json:"name"`OrgId openapi_types.UUID `json:"orgId"`Project *struct {@@ -3740,39 +3947,39 @@ type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0 struct {RotationInterval float32 `json:"rotationInterval"`// RotationStatus The status of the last rotation attempt.- RotationStatus DeleteGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus `json:"rotationStatus"`+ RotationStatus CreateGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus `json:"rotationStatus"`} `json:"rotation,omitempty"`UpdatedAt time.Time `json:"updatedAt"`Version *float32 `json:"version,omitempty"`}-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0App defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0App string+// CreateGitHubAppConnection200JSONResponseBodyAppConnection0App defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection0App string-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 string+// CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 string-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 string+// CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 string-// DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType struct {+// CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType struct {union json.RawMessage}-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0Method defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0Method string+// CreateGitHubAppConnection200JSONResponseBodyAppConnection0Method defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection0Method string-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus string+// CreateGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus string-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1 defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1 struct {- App DeleteGitHubAppConnection200JSONResponseBodyAppConnection1App `json:"app"`+// CreateGitHubAppConnection200JSONResponseBodyAppConnection1 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection1 struct {+ App CreateGitHubAppConnection200JSONResponseBodyAppConnection1App `json:"app"`CreatedAt time.Time `json:"createdAt"`Credentials struct {Host *string `json:"host,omitempty"`- InstanceType *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType `json:"instanceType,omitempty"`+ InstanceType *CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType `json:"instanceType,omitempty"`} `json:"credentials"`CredentialsHash *string `json:"credentialsHash,omitempty"`Description *string `json:"description,omitempty"`@@ -3781,7 +3988,7 @@ type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1 struct {Id openapi_types.UUID `json:"id"`IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`IsPlatformManagedCredentials *bool `json:"isPlatformManagedCredentials,omitempty"`- Method DeleteGitHubAppConnection200JSONResponseBodyAppConnection1Method `json:"method"`+ Method CreateGitHubAppConnection200JSONResponseBodyAppConnection1Method `json:"method"`Name string `json:"name"`OrgId openapi_types.UUID `json:"orgId"`Project *struct {@@ -3813,39 +4020,39 @@ type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1 struct {RotationInterval float32 `json:"rotationInterval"`// RotationStatus The status of the last rotation attempt.- RotationStatus DeleteGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus `json:"rotationStatus"`+ RotationStatus CreateGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus `json:"rotationStatus"`} `json:"rotation,omitempty"`UpdatedAt time.Time `json:"updatedAt"`Version *float32 `json:"version,omitempty"`}-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1App defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1App string+// CreateGitHubAppConnection200JSONResponseBodyAppConnection1App defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection1App string-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 string+// CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 string-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 string+// CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 string-// DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType struct {+// CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType struct {union json.RawMessage}-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1Method defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1Method string+// CreateGitHubAppConnection200JSONResponseBodyAppConnection1Method defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection1Method string-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus string+// CreateGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus string-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2 defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2 struct {- App DeleteGitHubAppConnection200JSONResponseBodyAppConnection2App `json:"app"`+// CreateGitHubAppConnection200JSONResponseBodyAppConnection2 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection2 struct {+ App CreateGitHubAppConnection200JSONResponseBodyAppConnection2App `json:"app"`CreatedAt time.Time `json:"createdAt"`Credentials struct {Host *string `json:"host,omitempty"`- InstanceType *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType `json:"instanceType,omitempty"`+ InstanceType *CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType `json:"instanceType,omitempty"`} `json:"credentials"`CredentialsHash *string `json:"credentialsHash,omitempty"`Description *string `json:"description,omitempty"`@@ -3854,7 +4061,7 @@ type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2 struct {Id openapi_types.UUID `json:"id"`IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`IsPlatformManagedCredentials *bool `json:"isPlatformManagedCredentials,omitempty"`- Method DeleteGitHubAppConnection200JSONResponseBodyAppConnection2Method `json:"method"`+ Method CreateGitHubAppConnection200JSONResponseBodyAppConnection2Method `json:"method"`Name string `json:"name"`OrgId openapi_types.UUID `json:"orgId"`Project *struct {@@ -3886,195 +4093,438 @@ type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2 struct {RotationInterval float32 `json:"rotationInterval"`// RotationStatus The status of the last rotation attempt.- RotationStatus DeleteGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus `json:"rotationStatus"`+ RotationStatus CreateGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus `json:"rotationStatus"`} `json:"rotation,omitempty"`UpdatedAt time.Time `json:"updatedAt"`Version *float32 `json:"version,omitempty"`}-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2App defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2App string+// CreateGitHubAppConnection200JSONResponseBodyAppConnection2App defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection2App string-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 string+// CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 string-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 string+// CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 string-// DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType struct {+// CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType struct {union json.RawMessage}-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2Method defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2Method string+// CreateGitHubAppConnection200JSONResponseBodyAppConnection2Method defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection2Method string-// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus string+// CreateGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus string-// DeleteGitHubAppConnection200JSONResponseBody_AppConnection defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection200JSONResponseBody_AppConnection struct {+// CreateGitHubAppConnection200JSONResponseBody_AppConnection defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection200JSONResponseBody_AppConnection struct {union json.RawMessage}-// DeleteGitHubAppConnection400JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection400JSONResponseBodyStatusCode float32--// DeleteGitHubAppConnection401JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection401JSONResponseBodyStatusCode float32--// DeleteGitHubAppConnection403JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection403JSONResponseBodyStatusCode float32--// DeleteGitHubAppConnection404JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection404JSONResponseBodyStatusCode float32--// DeleteGitHubAppConnection422JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection422JSONResponseBodyStatusCode float32--// DeleteGitHubAppConnection500JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.-type DeleteGitHubAppConnection500JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection400JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection400JSONResponseBodyStatusCode float32-// RefreshAuthToken400JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.-type RefreshAuthToken400JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection401JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection401JSONResponseBodyStatusCode float32-// RefreshAuthToken401JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.-type RefreshAuthToken401JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection403JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection403JSONResponseBodyStatusCode float32-// RefreshAuthToken403JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.-type RefreshAuthToken403JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection404JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection404JSONResponseBodyStatusCode float32-// RefreshAuthToken404JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.-type RefreshAuthToken404JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection422JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection422JSONResponseBodyStatusCode float32-// RefreshAuthToken422JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.-type RefreshAuthToken422JSONResponseBodyStatusCode float32+// CreateGitHubAppConnection500JSONResponseBodyStatusCode defines parameters for CreateGitHubAppConnection.+type CreateGitHubAppConnection500JSONResponseBodyStatusCode float32-// RefreshAuthToken500JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.-type RefreshAuthToken500JSONResponseBodyStatusCode float32+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0 defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0 struct {+ App DeleteGitHubAppConnection200JSONResponseBodyAppConnection0App `json:"app"`+ CreatedAt time.Time `json:"createdAt"`+ Credentials struct {+ GitHubAppId *openapi_types.UUID `json:"gitHubAppId,omitempty"`+ Host *string `json:"host,omitempty"`+ InstanceType *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType `json:"instanceType,omitempty"`+ } `json:"credentials"`+ CredentialsHash *string `json:"credentialsHash,omitempty"`+ Description *string `json:"description,omitempty"`+ GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`+ GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`+ IsPlatformManagedCredentials *bool `json:"isPlatformManagedCredentials,omitempty"`+ Method DeleteGitHubAppConnection200JSONResponseBodyAppConnection0Method `json:"method"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ Project *struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ Type string `json:"type"`+ } `json:"project,omitempty"`+ ProjectId *string `json:"projectId,omitempty"`-// AttachUniversalAuthJSONBody defines parameters for AttachUniversalAuth.-type AttachUniversalAuthJSONBody struct {- // AccessTokenMaxTTL The maximum lifetime for an access token in seconds. This value will be referenced at renewal time.- AccessTokenMaxTTL *int `json:"accessTokenMaxTTL,omitempty"`+ // Rotation The credential rotation configuration, if configured.+ Rotation *struct {+ // LastRotationMessage The message from the last rotation attempt.+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`- // AccessTokenNumUsesLimit The maximum number of times that an access token can be used; a value of 0 implies infinite number of uses.- AccessTokenNumUsesLimit *int `json:"accessTokenNumUsesLimit,omitempty"`+ // NextRotationAt The next scheduled rotation time.+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`- // AccessTokenPeriod The period for an access token in seconds. This value will be referenced at renewal time. Default value is 0.- AccessTokenPeriod *int `json:"accessTokenPeriod,omitempty"`+ // RotateAtUtc The UTC time of day at which rotation should occur.+ RotateAtUtc struct {+ // Hours The hour (0-23) at which to rotate.+ Hours float32 `json:"hours"`- // AccessTokenTTL The lifetime for an access token in seconds. This value will be referenced at renewal time.- AccessTokenTTL *int `json:"accessTokenTTL,omitempty"`+ // Minutes The minute (0-59) at which to rotate.+ Minutes float32 `json:"minutes"`+ } `json:"rotateAtUtc"`- // AccessTokenTrustedIps A list of IPs or CIDR ranges that access tokens can be used from. You can use 0.0.0.0/0, to allow usage from any network address.- AccessTokenTrustedIps *[]struct {- IpAddress string `json:"ipAddress"`- } `json:"accessTokenTrustedIps,omitempty"`+ // RotationInterval The interval in days between credential rotations.+ RotationInterval float32 `json:"rotationInterval"`- // ClientSecretTrustedIps A list of IPs or CIDR ranges that the Client Secret can be used from together with the Client ID to get back an access token. You can use 0.0.0.0/0, to allow usage from any network address.- ClientSecretTrustedIps *[]struct {- IpAddress string `json:"ipAddress"`- } `json:"clientSecretTrustedIps,omitempty"`+ // RotationStatus The status of the last rotation attempt.+ RotationStatus DeleteGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus `json:"rotationStatus"`+ } `json:"rotation,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+}- // LockoutCounterResetSeconds How long to wait from the most recent failed login until resetting the lockout counter.- LockoutCounterResetSeconds *float32 `json:"lockoutCounterResetSeconds,omitempty"`+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0App defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0App string- // LockoutDurationSeconds How long an identity auth method lockout lasts.- LockoutDurationSeconds *float32 `json:"lockoutDurationSeconds,omitempty"`+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType0 string- // LockoutEnabled Whether the lockout feature is enabled.- LockoutEnabled *bool `json:"lockoutEnabled,omitempty"`+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0CredentialsInstanceType1 string- // LockoutThreshold The amount of times login must fail before locking the identity auth method.- LockoutThreshold *float32 `json:"lockoutThreshold,omitempty"`+// DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBody_AppConnection_0_Credentials_InstanceType struct {+ union json.RawMessage}-// AttachUniversalAuth400JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.-type AttachUniversalAuth400JSONResponseBodyStatusCode float32+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0Method defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0Method string-// AttachUniversalAuth401JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.-type AttachUniversalAuth401JSONResponseBodyStatusCode float32+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection0RotationRotationStatus string-// AttachUniversalAuth403JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.-type AttachUniversalAuth403JSONResponseBodyStatusCode float32+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1 defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1 struct {+ App DeleteGitHubAppConnection200JSONResponseBodyAppConnection1App `json:"app"`+ CreatedAt time.Time `json:"createdAt"`+ Credentials struct {+ Host *string `json:"host,omitempty"`+ InstanceType *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType `json:"instanceType,omitempty"`+ } `json:"credentials"`+ CredentialsHash *string `json:"credentialsHash,omitempty"`+ Description *string `json:"description,omitempty"`+ GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`+ GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`+ IsPlatformManagedCredentials *bool `json:"isPlatformManagedCredentials,omitempty"`+ Method DeleteGitHubAppConnection200JSONResponseBodyAppConnection1Method `json:"method"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ Project *struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ Type string `json:"type"`+ } `json:"project,omitempty"`+ ProjectId *string `json:"projectId,omitempty"`-// AttachUniversalAuth404JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.-type AttachUniversalAuth404JSONResponseBodyStatusCode float32+ // Rotation The credential rotation configuration, if configured.+ Rotation *struct {+ // LastRotationMessage The message from the last rotation attempt.+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`-// AttachUniversalAuth422JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.-type AttachUniversalAuth422JSONResponseBodyStatusCode float32+ // NextRotationAt The next scheduled rotation time.+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`-// AttachUniversalAuth500JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.-type AttachUniversalAuth500JSONResponseBodyStatusCode float32+ // RotateAtUtc The UTC time of day at which rotation should occur.+ RotateAtUtc struct {+ // Hours The hour (0-23) at which to rotate.+ Hours float32 `json:"hours"`-// CreateUniversalAuthClientSecretJSONBody defines parameters for CreateUniversalAuthClientSecret.-type CreateUniversalAuthClientSecretJSONBody struct {- // Description The description of the client secret.- Description *string `json:"description,omitempty"`+ // Minutes The minute (0-59) at which to rotate.+ Minutes float32 `json:"minutes"`+ } `json:"rotateAtUtc"`- // NumUsesLimit The maximum number of times that the client secret can be used; a value of 0 implies infinite number of uses.- NumUsesLimit *float32 `json:"numUsesLimit,omitempty"`+ // RotationInterval The interval in days between credential rotations.+ RotationInterval float32 `json:"rotationInterval"`- // Ttl The lifetime for the client secret in seconds.- Ttl *float32 `json:"ttl,omitempty"`+ // RotationStatus The status of the last rotation attempt.+ RotationStatus DeleteGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus `json:"rotationStatus"`+ } `json:"rotation,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`}-// CreateUniversalAuthClientSecret400JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.-type CreateUniversalAuthClientSecret400JSONResponseBodyStatusCode float32+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1App defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1App string-// CreateUniversalAuthClientSecret401JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.-type CreateUniversalAuthClientSecret401JSONResponseBodyStatusCode float32+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType0 string-// CreateUniversalAuthClientSecret403JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.-type CreateUniversalAuthClientSecret403JSONResponseBodyStatusCode float32+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1CredentialsInstanceType1 string-// CreateUniversalAuthClientSecret404JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.-type CreateUniversalAuthClientSecret404JSONResponseBodyStatusCode float32+// DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBody_AppConnection_1_Credentials_InstanceType struct {+ union json.RawMessage+}-// CreateUniversalAuthClientSecret422JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.-type CreateUniversalAuthClientSecret422JSONResponseBodyStatusCode float32+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1Method defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1Method string-// CreateUniversalAuthClientSecret500JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.-type CreateUniversalAuthClientSecret500JSONResponseBodyStatusCode float32+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection1RotationRotationStatus string-// LoginWithUniversalAuthJSONBody defines parameters for LoginWithUniversalAuth.-type LoginWithUniversalAuthJSONBody struct {- // ClientId Your Machine Identity Client ID.- ClientId string `json:"clientId"`+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2 defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2 struct {+ App DeleteGitHubAppConnection200JSONResponseBodyAppConnection2App `json:"app"`+ CreatedAt time.Time `json:"createdAt"`+ Credentials struct {+ Host *string `json:"host,omitempty"`+ InstanceType *DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType `json:"instanceType,omitempty"`+ } `json:"credentials"`+ CredentialsHash *string `json:"credentialsHash,omitempty"`+ Description *string `json:"description,omitempty"`+ GatewayId *openapi_types.UUID `json:"gatewayId,omitempty"`+ GatewayPoolId *openapi_types.UUID `json:"gatewayPoolId,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsAutoRotationEnabled *bool `json:"isAutoRotationEnabled,omitempty"`+ IsPlatformManagedCredentials *bool `json:"isPlatformManagedCredentials,omitempty"`+ Method DeleteGitHubAppConnection200JSONResponseBodyAppConnection2Method `json:"method"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ Project *struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ Type string `json:"type"`+ } `json:"project,omitempty"`+ ProjectId *string `json:"projectId,omitempty"`- // ClientSecret Your Machine Identity Client Secret.- ClientSecret string `json:"clientSecret"`+ // Rotation The credential rotation configuration, if configured.+ Rotation *struct {+ // LastRotationMessage The message from the last rotation attempt.+ LastRotationMessage *string `json:"lastRotationMessage,omitempty"`- // OrganizationSlug When set, this will scope the login session to the specified organization the machine identity has access to. If omitted, the session defaults to the organization where the machine identity was created in.- OrganizationSlug *string `json:"organizationSlug,omitempty"`-}+ // NextRotationAt The next scheduled rotation time.+ NextRotationAt *time.Time `json:"nextRotationAt,omitempty"`-// LoginWithUniversalAuth200JSONResponseBodyTokenType defines parameters for LoginWithUniversalAuth.-type LoginWithUniversalAuth200JSONResponseBodyTokenType string+ // RotateAtUtc The UTC time of day at which rotation should occur.+ RotateAtUtc struct {+ // Hours The hour (0-23) at which to rotate.+ Hours float32 `json:"hours"`-// LoginWithUniversalAuth400JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.-type LoginWithUniversalAuth400JSONResponseBodyStatusCode float32+ // Minutes The minute (0-59) at which to rotate.+ Minutes float32 `json:"minutes"`+ } `json:"rotateAtUtc"`-// LoginWithUniversalAuth401JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.-type LoginWithUniversalAuth401JSONResponseBodyStatusCode float32+ // RotationInterval The interval in days between credential rotations.+ RotationInterval float32 `json:"rotationInterval"`-// LoginWithUniversalAuth403JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.-type LoginWithUniversalAuth403JSONResponseBodyStatusCode float32+ // RotationStatus The status of the last rotation attempt.+ RotationStatus DeleteGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus `json:"rotationStatus"`+ } `json:"rotation,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version *float32 `json:"version,omitempty"`+}-// LoginWithUniversalAuth404JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.-type LoginWithUniversalAuth404JSONResponseBodyStatusCode float32+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2App defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2App string-// LoginWithUniversalAuth422JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.-type LoginWithUniversalAuth422JSONResponseBodyStatusCode float32+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType0 string-// LoginWithUniversalAuth500JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.-type LoginWithUniversalAuth500JSONResponseBodyStatusCode float32+// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2CredentialsInstanceType1 string-// CreateMachineIdentityJSONBody defines parameters for CreateMachineIdentity.-type CreateMachineIdentityJSONBody struct {- // HasDeleteProtection Prevents deletion of the identity when enabled.- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+// DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBody_AppConnection_2_Credentials_InstanceType struct {+ union json.RawMessage+}++// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2Method defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2Method string++// DeleteGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBodyAppConnection2RotationRotationStatus string++// DeleteGitHubAppConnection200JSONResponseBody_AppConnection defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection200JSONResponseBody_AppConnection struct {+ union json.RawMessage+}++// DeleteGitHubAppConnection400JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection400JSONResponseBodyStatusCode float32++// DeleteGitHubAppConnection401JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection401JSONResponseBodyStatusCode float32++// DeleteGitHubAppConnection403JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection403JSONResponseBodyStatusCode float32++// DeleteGitHubAppConnection404JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection404JSONResponseBodyStatusCode float32++// DeleteGitHubAppConnection422JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection422JSONResponseBodyStatusCode float32++// DeleteGitHubAppConnection500JSONResponseBodyStatusCode defines parameters for DeleteGitHubAppConnection.+type DeleteGitHubAppConnection500JSONResponseBodyStatusCode float32++// RefreshAuthToken400JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.+type RefreshAuthToken400JSONResponseBodyStatusCode float32++// RefreshAuthToken401JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.+type RefreshAuthToken401JSONResponseBodyStatusCode float32++// RefreshAuthToken403JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.+type RefreshAuthToken403JSONResponseBodyStatusCode float32++// RefreshAuthToken404JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.+type RefreshAuthToken404JSONResponseBodyStatusCode float32++// RefreshAuthToken422JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.+type RefreshAuthToken422JSONResponseBodyStatusCode float32++// RefreshAuthToken500JSONResponseBodyStatusCode defines parameters for RefreshAuthToken.+type RefreshAuthToken500JSONResponseBodyStatusCode float32++// AttachUniversalAuthJSONBody defines parameters for AttachUniversalAuth.+type AttachUniversalAuthJSONBody struct {+ // AccessTokenMaxTTL The maximum lifetime for an access token in seconds. This value will be referenced at renewal time.+ AccessTokenMaxTTL *int `json:"accessTokenMaxTTL,omitempty"`++ // AccessTokenNumUsesLimit The maximum number of times that an access token can be used; a value of 0 implies infinite number of uses.+ AccessTokenNumUsesLimit *int `json:"accessTokenNumUsesLimit,omitempty"`++ // AccessTokenPeriod The period for an access token in seconds. This value will be referenced at renewal time. Default value is 0.+ AccessTokenPeriod *int `json:"accessTokenPeriod,omitempty"`++ // AccessTokenTTL The lifetime for an access token in seconds. This value will be referenced at renewal time.+ AccessTokenTTL *int `json:"accessTokenTTL,omitempty"`++ // AccessTokenTrustedIps A list of IPs or CIDR ranges that access tokens can be used from. You can use 0.0.0.0/0, to allow usage from any network address.+ AccessTokenTrustedIps *[]struct {+ IpAddress string `json:"ipAddress"`+ } `json:"accessTokenTrustedIps,omitempty"`++ // ClientSecretTrustedIps A list of IPs or CIDR ranges that the Client Secret can be used from together with the Client ID to get back an access token. You can use 0.0.0.0/0, to allow usage from any network address.+ ClientSecretTrustedIps *[]struct {+ IpAddress string `json:"ipAddress"`+ } `json:"clientSecretTrustedIps,omitempty"`++ // LockoutCounterResetSeconds How long to wait from the most recent failed login until resetting the lockout counter.+ LockoutCounterResetSeconds *float32 `json:"lockoutCounterResetSeconds,omitempty"`++ // LockoutDurationSeconds How long an identity auth method lockout lasts.+ LockoutDurationSeconds *float32 `json:"lockoutDurationSeconds,omitempty"`++ // LockoutEnabled Whether the lockout feature is enabled.+ LockoutEnabled *bool `json:"lockoutEnabled,omitempty"`++ // LockoutThreshold The amount of times login must fail before locking the identity auth method.+ LockoutThreshold *float32 `json:"lockoutThreshold,omitempty"`+}++// AttachUniversalAuth400JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.+type AttachUniversalAuth400JSONResponseBodyStatusCode float32++// AttachUniversalAuth401JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.+type AttachUniversalAuth401JSONResponseBodyStatusCode float32++// AttachUniversalAuth403JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.+type AttachUniversalAuth403JSONResponseBodyStatusCode float32++// AttachUniversalAuth404JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.+type AttachUniversalAuth404JSONResponseBodyStatusCode float32++// AttachUniversalAuth422JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.+type AttachUniversalAuth422JSONResponseBodyStatusCode float32++// AttachUniversalAuth500JSONResponseBodyStatusCode defines parameters for AttachUniversalAuth.+type AttachUniversalAuth500JSONResponseBodyStatusCode float32++// CreateUniversalAuthClientSecretJSONBody defines parameters for CreateUniversalAuthClientSecret.+type CreateUniversalAuthClientSecretJSONBody struct {+ // Description The description of the client secret.+ Description *string `json:"description,omitempty"`++ // NumUsesLimit The maximum number of times that the client secret can be used; a value of 0 implies infinite number of uses.+ NumUsesLimit *float32 `json:"numUsesLimit,omitempty"`++ // Ttl The lifetime for the client secret in seconds.+ Ttl *float32 `json:"ttl,omitempty"`+}++// CreateUniversalAuthClientSecret400JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.+type CreateUniversalAuthClientSecret400JSONResponseBodyStatusCode float32++// CreateUniversalAuthClientSecret401JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.+type CreateUniversalAuthClientSecret401JSONResponseBodyStatusCode float32++// CreateUniversalAuthClientSecret403JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.+type CreateUniversalAuthClientSecret403JSONResponseBodyStatusCode float32++// CreateUniversalAuthClientSecret404JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.+type CreateUniversalAuthClientSecret404JSONResponseBodyStatusCode float32++// CreateUniversalAuthClientSecret422JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.+type CreateUniversalAuthClientSecret422JSONResponseBodyStatusCode float32++// CreateUniversalAuthClientSecret500JSONResponseBodyStatusCode defines parameters for CreateUniversalAuthClientSecret.+type CreateUniversalAuthClientSecret500JSONResponseBodyStatusCode float32++// LoginWithUniversalAuthJSONBody defines parameters for LoginWithUniversalAuth.+type LoginWithUniversalAuthJSONBody struct {+ // ClientId Your Machine Identity Client ID.+ ClientId string `json:"clientId"`++ // ClientSecret Your Machine Identity Client Secret.+ ClientSecret string `json:"clientSecret"`++ // OrganizationSlug When set, this will scope the login session to the specified organization the machine identity has access to. If omitted, the session defaults to the organization where the machine identity was created in.+ OrganizationSlug *string `json:"organizationSlug,omitempty"`+}++// LoginWithUniversalAuth200JSONResponseBodyTokenType defines parameters for LoginWithUniversalAuth.+type LoginWithUniversalAuth200JSONResponseBodyTokenType string++// LoginWithUniversalAuth400JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.+type LoginWithUniversalAuth400JSONResponseBodyStatusCode float32++// LoginWithUniversalAuth401JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.+type LoginWithUniversalAuth401JSONResponseBodyStatusCode float32++// LoginWithUniversalAuth403JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.+type LoginWithUniversalAuth403JSONResponseBodyStatusCode float32++// LoginWithUniversalAuth404JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.+type LoginWithUniversalAuth404JSONResponseBodyStatusCode float32++// LoginWithUniversalAuth422JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.+type LoginWithUniversalAuth422JSONResponseBodyStatusCode float32++// LoginWithUniversalAuth500JSONResponseBodyStatusCode defines parameters for LoginWithUniversalAuth.+type LoginWithUniversalAuth500JSONResponseBodyStatusCode float32++// CreateMachineIdentityJSONBody defines parameters for CreateMachineIdentity.+type CreateMachineIdentityJSONBody struct {+ // HasDeleteProtection Prevents deletion of the identity when enabled.+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`Metadata *[]struct {Key string `json:"key"`Value string `json:"value"`@@ -4635,6 +5085,243 @@ type VerifyEmailSignupV3422JSONResponseBodyStatusCode float32// VerifyEmailSignupV3500JSONResponseBodyStatusCode defines parameters for VerifyEmailSignupV3.type VerifyEmailSignupV3500JSONResponseBodyStatusCode float32+// ListSecretsV4Params defines parameters for ListSecretsV4.+type ListSecretsV4Params struct {+ // MetadataFilter Unencrypted secret metadata key-value pairs used to filter secrets. Only metadata with unencrypted values is supported. When querying for multiple metadata pairs, the query is treated as an AND operation. Secret metadata format is key=value1,value=value2|key=value3,value=value4.+ MetadataFilter *string `form:"metadataFilter,omitempty" json:"metadataFilter,omitempty"`++ // ProjectId The ID of the project to list secrets from.+ ProjectId *string `form:"projectId,omitempty" json:"projectId,omitempty"`++ // Environment The slug of the environment to list secrets from.+ Environment *string `form:"environment,omitempty" json:"environment,omitempty"`++ // SecretPath The secret path to list secrets from.+ SecretPath *string `form:"secretPath,omitempty" json:"secretPath,omitempty"`++ // ViewSecretValue Whether or not to retrieve the secret value.+ ViewSecretValue *ListSecretsV4ParamsViewSecretValue `form:"viewSecretValue,omitempty" json:"viewSecretValue,omitempty"`++ // ExpandSecretReferences Whether or not to expand secret references.+ ExpandSecretReferences *ListSecretsV4ParamsExpandSecretReferences `form:"expandSecretReferences,omitempty" json:"expandSecretReferences,omitempty"`++ // Recursive Whether or not to fetch all secrets from the specified base path, and all of its subdirectories. Note, the max depth is 20 deep.+ Recursive *ListSecretsV4ParamsRecursive `form:"recursive,omitempty" json:"recursive,omitempty"`++ // IncludePersonalOverrides Whether or not to include personal secrets in the response. When enabled, personal secrets will be included in the response. Shared secrets will still be included, but personal secrets will take priority, and the corresponding shared secrets will be replaced with the personal secrets.+ IncludePersonalOverrides *ListSecretsV4ParamsIncludePersonalOverrides `form:"includePersonalOverrides,omitempty" json:"includePersonalOverrides,omitempty"`++ // IncludeImports Weather to include imported secrets or not.+ IncludeImports *ListSecretsV4ParamsIncludeImports `form:"includeImports,omitempty" json:"includeImports,omitempty"`++ // TagSlugs The comma separated tag slugs to filter secrets.+ TagSlugs *string `form:"tagSlugs,omitempty" json:"tagSlugs,omitempty"`+}++// ListSecretsV4ParamsViewSecretValue defines parameters for ListSecretsV4.+type ListSecretsV4ParamsViewSecretValue string++// ListSecretsV4ParamsExpandSecretReferences defines parameters for ListSecretsV4.+type ListSecretsV4ParamsExpandSecretReferences string++// ListSecretsV4ParamsRecursive defines parameters for ListSecretsV4.+type ListSecretsV4ParamsRecursive string++// ListSecretsV4ParamsIncludePersonalOverrides defines parameters for ListSecretsV4.+type ListSecretsV4ParamsIncludePersonalOverrides string++// ListSecretsV4ParamsIncludeImports defines parameters for ListSecretsV4.+type ListSecretsV4ParamsIncludeImports string++// ListSecretsV4400JSONResponseBodyStatusCode defines parameters for ListSecretsV4.+type ListSecretsV4400JSONResponseBodyStatusCode float32++// ListSecretsV4401JSONResponseBodyStatusCode defines parameters for ListSecretsV4.+type ListSecretsV4401JSONResponseBodyStatusCode float32++// ListSecretsV4403JSONResponseBodyStatusCode defines parameters for ListSecretsV4.+type ListSecretsV4403JSONResponseBodyStatusCode float32++// ListSecretsV4404JSONResponseBodyStatusCode defines parameters for ListSecretsV4.+type ListSecretsV4404JSONResponseBodyStatusCode float32++// ListSecretsV4422JSONResponseBodyStatusCode defines parameters for ListSecretsV4.+type ListSecretsV4422JSONResponseBodyStatusCode float32++// ListSecretsV4500JSONResponseBodyStatusCode defines parameters for ListSecretsV4.+type ListSecretsV4500JSONResponseBodyStatusCode float32++// GetSecretByNameV4Params defines parameters for GetSecretByNameV4.+type GetSecretByNameV4Params struct {+ // ProjectId The ID of the project to get the secret from.+ ProjectId string `form:"projectId" json:"projectId"`++ // Environment The slug of the environment to get the secret from.+ Environment *string `form:"environment,omitempty" json:"environment,omitempty"`++ // SecretPath The path of the secret to get.+ SecretPath *string `form:"secretPath,omitempty" json:"secretPath,omitempty"`++ // Version The version of the secret to get.+ Version *float32 `form:"version,omitempty" json:"version,omitempty"`++ // Type The type of the secret to get.+ Type *GetSecretByNameV4ParamsType `form:"type,omitempty" json:"type,omitempty"`++ // ViewSecretValue Whether or not to retrieve the secret value.+ ViewSecretValue *GetSecretByNameV4ParamsViewSecretValue `form:"viewSecretValue,omitempty" json:"viewSecretValue,omitempty"`++ // ExpandSecretReferences Whether or not to expand secret references.+ ExpandSecretReferences *GetSecretByNameV4ParamsExpandSecretReferences `form:"expandSecretReferences,omitempty" json:"expandSecretReferences,omitempty"`++ // IncludeImports Weather to include imported secrets or not.+ IncludeImports *GetSecretByNameV4ParamsIncludeImports `form:"includeImports,omitempty" json:"includeImports,omitempty"`+}++// GetSecretByNameV4ParamsType defines parameters for GetSecretByNameV4.+type GetSecretByNameV4ParamsType string++// GetSecretByNameV4ParamsViewSecretValue defines parameters for GetSecretByNameV4.+type GetSecretByNameV4ParamsViewSecretValue string++// GetSecretByNameV4ParamsExpandSecretReferences defines parameters for GetSecretByNameV4.+type GetSecretByNameV4ParamsExpandSecretReferences string++// GetSecretByNameV4ParamsIncludeImports defines parameters for GetSecretByNameV4.+type GetSecretByNameV4ParamsIncludeImports string++// GetSecretByNameV4400JSONResponseBodyStatusCode defines parameters for GetSecretByNameV4.+type GetSecretByNameV4400JSONResponseBodyStatusCode float32++// GetSecretByNameV4401JSONResponseBodyStatusCode defines parameters for GetSecretByNameV4.+type GetSecretByNameV4401JSONResponseBodyStatusCode float32++// GetSecretByNameV4403JSONResponseBodyStatusCode defines parameters for GetSecretByNameV4.+type GetSecretByNameV4403JSONResponseBodyStatusCode float32++// GetSecretByNameV4404JSONResponseBodyStatusCode defines parameters for GetSecretByNameV4.+type GetSecretByNameV4404JSONResponseBodyStatusCode float32++// GetSecretByNameV4422JSONResponseBodyStatusCode defines parameters for GetSecretByNameV4.+type GetSecretByNameV4422JSONResponseBodyStatusCode float32++// GetSecretByNameV4500JSONResponseBodyStatusCode defines parameters for GetSecretByNameV4.+type GetSecretByNameV4500JSONResponseBodyStatusCode float32++// CreateSecretV4JSONBody defines parameters for CreateSecretV4.+type CreateSecretV4JSONBody struct {+ // Environment The slug of the environment to create the secret in.+ Environment string `json:"environment"`++ // ProjectId The ID of the project to create the secret in.+ ProjectId string `json:"projectId"`++ // SecretComment Attach a comment to the secret.+ SecretComment *string `json:"secretComment,omitempty"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`++ // SecretPath The path to create the secret in.+ SecretPath *string `json:"secretPath,omitempty"`++ // SecretReminderNote Note to be attached in notification email.+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`++ // SecretReminderRepeatDays Interval for secret rotation notifications, measured in days.+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`++ // SecretValue The value of the secret to create.+ SecretValue string `json:"secretValue"`++ // SkipMultilineEncoding Skip multiline encoding for the secret value.+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`++ // TagIds The ID of the tags to be attached to the created secret.+ TagIds *[]string `json:"tagIds,omitempty"`++ // Type The type of the secret to create.+ Type *CreateSecretV4JSONBodyType `json:"type,omitempty"`+}++// CreateSecretV4JSONBodyType defines parameters for CreateSecretV4.+type CreateSecretV4JSONBodyType string++// CreateSecretV4200JSONResponseBody0 defines parameters for CreateSecretV4.+type CreateSecretV4200JSONResponseBody0 struct {+ Secret struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secret"`+}++// CreateSecretV4200JSONResponseBody1 defines parameters for CreateSecretV4.+type CreateSecretV4200JSONResponseBody1 struct {+ Approval struct {+ BypassReason *string `json:"bypassReason,omitempty"`+ CommitMessage *string `json:"commitMessage,omitempty"`+ CommitterIdentityId *openapi_types.UUID `json:"committerIdentityId,omitempty"`+ CommitterUserId *openapi_types.UUID `json:"committerUserId,omitempty"`+ Conflicts interface{} `json:"conflicts,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ FolderId openapi_types.UUID `json:"folderId"`+ HasMerged *bool `json:"hasMerged,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsReplicated *bool `json:"isReplicated,omitempty"`+ PolicyId openapi_types.UUID `json:"policyId"`+ Slug string `json:"slug"`+ Status *string `json:"status,omitempty"`+ StatusChangedByUserId *openapi_types.UUID `json:"statusChangedByUserId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"approval"`+}++// CreateSecretV4200JSONResponseBody defines parameters for CreateSecretV4.+type CreateSecretV4200JSONResponseBody struct {+ union json.RawMessage+}++// CreateSecretV4400JSONResponseBodyStatusCode defines parameters for CreateSecretV4.+type CreateSecretV4400JSONResponseBodyStatusCode float32++// CreateSecretV4401JSONResponseBodyStatusCode defines parameters for CreateSecretV4.+type CreateSecretV4401JSONResponseBodyStatusCode float32++// CreateSecretV4403JSONResponseBodyStatusCode defines parameters for CreateSecretV4.+type CreateSecretV4403JSONResponseBodyStatusCode float32++// CreateSecretV4404JSONResponseBodyStatusCode defines parameters for CreateSecretV4.+type CreateSecretV4404JSONResponseBodyStatusCode float32++// CreateSecretV4422JSONResponseBodyStatusCode defines parameters for CreateSecretV4.+type CreateSecretV4422JSONResponseBodyStatusCode float32++// CreateSecretV4500JSONResponseBodyStatusCode defines parameters for CreateSecretV4.+type CreateSecretV4500JSONResponseBodyStatusCode float32+// AdminBootstrapJSONRequestBody defines body for AdminBootstrap for application/json ContentType.type AdminBootstrapJSONRequestBody AdminBootstrapJSONBody@@ -4692,6 +5379,9 @@ type BeginEmailSignupV3JSONRequestBody BeginEmailSignupV3JSONBody// VerifyEmailSignupV3JSONRequestBody defines body for VerifyEmailSignupV3 for application/json ContentType.type VerifyEmailSignupV3JSONRequestBody VerifyEmailSignupV3JSONBody+// CreateSecretV4JSONRequestBody defines body for CreateSecretV4 for application/json ContentType.+type CreateSecretV4JSONRequestBody CreateSecretV4JSONBody+// AsCreateGitHubAppConnectionJSONBody0 returns the union data inside the CreateGitHubAppConnectionJSONBody as a CreateGitHubAppConnectionJSONBody0func (t CreateGitHubAppConnectionJSONBody) AsCreateGitHubAppConnectionJSONBody0() (CreateGitHubAppConnectionJSONBody0, error) {var body CreateGitHubAppConnectionJSONBody0@@ -5954,26 +6644,88 @@ func (t *CompleteAccountSignupV3JSONBody) UnmarshalJSON(b []byte) error {return err}-// RequestEditorFn is the function signature for the RequestEditor callback function-type RequestEditorFn func(ctx context.Context, req *http.Request) error--// Doer performs HTTP requests.-//-// The standard http.Client implements this interface.-type HttpRequestDoer interface {- Do(req *http.Request) (*http.Response, error)+// AsCreateSecretV4200JSONResponseBody0 returns the union data inside the CreateSecretV4200JSONResponseBody as a CreateSecretV4200JSONResponseBody0+func (t CreateSecretV4200JSONResponseBody) AsCreateSecretV4200JSONResponseBody0() (CreateSecretV4200JSONResponseBody0, error) {+ var body CreateSecretV4200JSONResponseBody0+ err := json.Unmarshal(t.union, &body)+ return body, err}-// Client which conforms to the OpenAPI3 specification for this service.-type Client struct {- // The endpoint of the server conforming to this interface, with scheme,- // https://api.deepmap.com for example. This can contain a path relative- // to the server, such as https://api.deepmap.com/dev-test, and all the- // paths in the swagger spec will be appended to the server.- Server string+// FromCreateSecretV4200JSONResponseBody0 overwrites any union data inside the CreateSecretV4200JSONResponseBody as the provided CreateSecretV4200JSONResponseBody0+func (t *CreateSecretV4200JSONResponseBody) FromCreateSecretV4200JSONResponseBody0(v CreateSecretV4200JSONResponseBody0) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}- // Doer for performing requests, typically a *http.Client with any- // customized settings, such as certificate chains.+// MergeCreateSecretV4200JSONResponseBody0 performs a merge with any union data inside the CreateSecretV4200JSONResponseBody, using the provided CreateSecretV4200JSONResponseBody0+func (t *CreateSecretV4200JSONResponseBody) MergeCreateSecretV4200JSONResponseBody0(v CreateSecretV4200JSONResponseBody0) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++// AsCreateSecretV4200JSONResponseBody1 returns the union data inside the CreateSecretV4200JSONResponseBody as a CreateSecretV4200JSONResponseBody1+func (t CreateSecretV4200JSONResponseBody) AsCreateSecretV4200JSONResponseBody1() (CreateSecretV4200JSONResponseBody1, error) {+ var body CreateSecretV4200JSONResponseBody1+ err := json.Unmarshal(t.union, &body)+ return body, err+}++// FromCreateSecretV4200JSONResponseBody1 overwrites any union data inside the CreateSecretV4200JSONResponseBody as the provided CreateSecretV4200JSONResponseBody1+func (t *CreateSecretV4200JSONResponseBody) FromCreateSecretV4200JSONResponseBody1(v CreateSecretV4200JSONResponseBody1) error {+ b, err := json.Marshal(v)+ t.union = b+ return err+}++// MergeCreateSecretV4200JSONResponseBody1 performs a merge with any union data inside the CreateSecretV4200JSONResponseBody, using the provided CreateSecretV4200JSONResponseBody1+func (t *CreateSecretV4200JSONResponseBody) MergeCreateSecretV4200JSONResponseBody1(v CreateSecretV4200JSONResponseBody1) error {+ b, err := json.Marshal(v)+ if err != nil {+ return err+ }++ merged, err := runtime.JSONMerge(t.union, b)+ t.union = merged+ return err+}++func (t CreateSecretV4200JSONResponseBody) MarshalJSON() ([]byte, error) {+ b, err := t.union.MarshalJSON()+ return b, err+}++func (t *CreateSecretV4200JSONResponseBody) UnmarshalJSON(b []byte) error {+ err := t.union.UnmarshalJSON(b)+ return err+}++// RequestEditorFn is the function signature for the RequestEditor callback function+type RequestEditorFn func(ctx context.Context, req *http.Request) error++// Doer performs HTTP requests.+//+// The standard http.Client implements this interface.+type HttpRequestDoer interface {+ Do(req *http.Request) (*http.Response, error)+}++// Client which conforms to the OpenAPI3 specification for this service.+type Client struct {+ // The endpoint of the server conforming to this interface, with scheme,+ // https://api.deepmap.com for example. This can contain a path relative+ // to the server, such as https://api.deepmap.com/dev-test, and all the+ // paths in the swagger spec will be appended to the server.+ Server string++ // Doer for performing requests, typically a *http.Client with any+ // customized settings, such as certificate chains.Client HttpRequestDoer// A list of callbacks for modifying requests which are generated before sending over@@ -6237,6 +6989,28 @@ type ClientInterface interface {// VerifyEmailSignupV3 performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request.// Takes a body of the `application/json` content type.VerifyEmailSignupV3(ctx context.Context, body VerifyEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)++ // ListSecretsV4 performs a GET /api/v4/secrets (the `ListSecretsV4` operationId) request.+ //+ // List secrets.+ ListSecretsV4(ctx context.Context, params *ListSecretsV4Params, reqEditors ...RequestEditorFn) (*http.Response, error)++ // GetSecretByNameV4 performs a GET /api/v4/secrets/{secretName} (the `GetSecretByNameV4` operationId) request.+ //+ // Get a secret by name.+ GetSecretByNameV4(ctx context.Context, secretName string, params *GetSecretByNameV4Params, reqEditors ...RequestEditorFn) (*http.Response, error)++ // CreateSecretV4WithBody performs a POST /api/v4/secrets/{secretName} (the `CreateSecretV4` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create secret.+ CreateSecretV4WithBody(ctx context.Context, secretName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)++ // CreateSecretV4 performs a POST /api/v4/secrets/{secretName} (the `CreateSecretV4` operationId) request.+ // Takes a body of the `application/json` content type.+ //+ // Create secret.+ CreateSecretV4(ctx context.Context, secretName string, body CreateSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)}// GetServerStatus performs a GET /api/status (the `GetServerStatus` operationId) request.@@ -6889,6 +7663,68 @@ func (c *Client) VerifyEmailSignupV3(ctx context.Context, body VerifyEmailSignupreturn c.Client.Do(req)}+// ListSecretsV4 performs a GET /api/v4/secrets (the `ListSecretsV4` operationId) request.+//+// List secrets.+func (c *Client) ListSecretsV4(ctx context.Context, params *ListSecretsV4Params, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewListSecretsV4Request(c.Server, params)+ if err != nil {+ return nil, err+ }+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)+}++// GetSecretByNameV4 performs a GET /api/v4/secrets/{secretName} (the `GetSecretByNameV4` operationId) request.+//+// Get a secret by name.+func (c *Client) GetSecretByNameV4(ctx context.Context, secretName string, params *GetSecretByNameV4Params, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewGetSecretByNameV4Request(c.Server, secretName, params)+ if err != nil {+ return nil, err+ }+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)+}++// CreateSecretV4WithBody performs a POST /api/v4/secrets/{secretName} (the `CreateSecretV4` operationId) request,+// with any type of body and a specified content type.+//+// Create secret.+func (c *Client) CreateSecretV4WithBody(ctx context.Context, secretName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateSecretV4RequestWithBody(c.Server, secretName, contentType, body)+ if err != nil {+ return nil, err+ }+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)+}++// CreateSecretV4 performs a POST /api/v4/secrets/{secretName} (the `CreateSecretV4` operationId) request.+// Takes a body of the `application/json` content type.+//+// Create secret.+func (c *Client) CreateSecretV4(ctx context.Context, secretName string, body CreateSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) {+ req, err := NewCreateSecretV4Request(c.Server, secretName, body)+ if err != nil {+ return nil, err+ }+ req = req.WithContext(ctx)+ if err := c.applyEditors(ctx, req, reqEditors); err != nil {+ return nil, err+ }+ return c.Client.Do(req)+}+// NewGetServerStatusRequest constructs an http.Request for the GetServerStatus methodfunc NewGetServerStatusRequest(server string) (*http.Request, error) {var err error@@ -7959,484 +8795,862 @@ func NewVerifyEmailSignupV3RequestWithBody(server string, contentType string, boreturn req, nil}-func (c *Client) applyEditors(ctx context.Context, req *http.Request, additionalEditors []RequestEditorFn) error {- for _, r := range c.RequestEditors {- if err := r(ctx, req); err != nil {- return err- }- }- for _, r := range additionalEditors {- if err := r(ctx, req); err != nil {- return err- }+// NewListSecretsV4Request constructs an http.Request for the ListSecretsV4 method+func NewListSecretsV4Request(server string, params *ListSecretsV4Params) (*http.Request, error) {+ var err error++ serverURL, err := url.Parse(server)+ if err != nil {+ return nil, err}- return nil-}-// ClientWithResponses builds on ClientInterface to offer response payloads-type ClientWithResponses struct {- ClientInterface-}+ operationPath := fmt.Sprintf("/api/v4/secrets")+ if operationPath[0] == '/' {+ operationPath = "." + operationPath+ }-// NewClientWithResponses creates a new ClientWithResponses, which wraps-// Client with return type handling-func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) {- client, err := NewClient(server, opts...)+ queryURL, err := serverURL.Parse(operationPath)if err != nil {return nil, err}- return &ClientWithResponses{client}, nil-}-// WithBaseURL overrides the baseURL.-func WithBaseURL(baseURL string) ClientOption {- return func(c *Client) error {- newBaseURL, err := url.Parse(baseURL)- if err != nil {- return err- }- c.Server = newBaseURL.String()- return nil- }-}+ if params != nil {+ // queryValues collects non-styled parameters (passthrough, JSON)+ // that are safe to round-trip through url.Values.Encode().+ queryValues := queryURL.Query()+ // rawQueryFragments collects pre-encoded query fragments from+ // styled parameters, preserving literal commas as delimiters+ // per the OpenAPI spec (e.g. "color=blue,black,brown").+ var rawQueryFragments []string-// ClientWithResponsesInterface is the interface specification for the client with responses above.-type ClientWithResponsesInterface interface {+ if params.MetadataFilter != nil {- // GetServerStatusWithResponse performs a GET /api/status (the `GetServerStatus` operationId) request.- //- // Returns a wrapper object for the known response body format(s).- GetServerStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetServerStatusResponse, error)+ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "metadataFilter", *params.MetadataFilter, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {+ return nil, err+ } else {+ for _, qp := range strings.Split(queryFrag, "&") {+ rawQueryFragments = append(rawQueryFragments, qp)+ }+ }- // AdminBootstrapWithBodyWithResponse performs a POST /api/v1/admin/bootstrap (the `AdminBootstrap` operationId) request,- // with any type of body and a specified content type.- //- // Returns a wrapper object for the known response body format(s).- AdminBootstrapWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdminBootstrapResponse, error)+ }- // AdminBootstrapWithResponse performs a POST /api/v1/admin/bootstrap (the `AdminBootstrap` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- AdminBootstrapWithResponse(ctx context.Context, body AdminBootstrapJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminBootstrapResponse, error)+ if params.ProjectId != nil {- // UpdateAdminConfigWithBodyWithResponse performs a PATCH /api/v1/admin/config (the `UpdateAdminConfig` operationId) request,- // with any type of body and a specified content type.- //- // Returns a wrapper object for the known response body format(s).- UpdateAdminConfigWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAdminConfigResponse, error)+ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "projectId", *params.ProjectId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {+ return nil, err+ } else {+ for _, qp := range strings.Split(queryFrag, "&") {+ rawQueryFragments = append(rawQueryFragments, qp)+ }+ }- // UpdateAdminConfigWithResponse performs a PATCH /api/v1/admin/config (the `UpdateAdminConfig` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- UpdateAdminConfigWithResponse(ctx context.Context, body UpdateAdminConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAdminConfigResponse, error)+ }- // CreateGitHubAppConnectionWithBodyWithResponse performs a POST /api/v1/app-connections/github (the `CreateGitHubAppConnection` operationId) request,- // with any type of body and a specified content type.- //- // Create a GitHub Connection.- //- // Returns a wrapper object for the known response body format(s).- CreateGitHubAppConnectionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGitHubAppConnectionResponse, error)+ if params.Environment != nil {- // CreateGitHubAppConnectionWithResponse performs a POST /api/v1/app-connections/github (the `CreateGitHubAppConnection` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- //- // Create a GitHub Connection.- CreateGitHubAppConnectionWithResponse(ctx context.Context, body CreateGitHubAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGitHubAppConnectionResponse, error)+ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "environment", *params.Environment, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {+ return nil, err+ } else {+ for _, qp := range strings.Split(queryFrag, "&") {+ rawQueryFragments = append(rawQueryFragments, qp)+ }+ }- // DeleteGitHubAppConnectionWithResponse performs a DELETE /api/v1/app-connections/github/{connectionId} (the `DeleteGitHubAppConnection` operationId) request.- //- // Delete the specified GitHub Connection.- //- // Returns a wrapper object for the known response body format(s).- DeleteGitHubAppConnectionWithResponse(ctx context.Context, connectionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteGitHubAppConnectionResponse, error)+ }- // RefreshAuthTokenWithResponse performs a POST /api/v1/auth/token (the `RefreshAuthToken` operationId) request.- //- // Returns a wrapper object for the known response body format(s).- RefreshAuthTokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshAuthTokenResponse, error)+ if params.SecretPath != nil {- // AttachUniversalAuthWithBodyWithResponse performs a POST /api/v1/auth/universal-auth/identities/{identityId} (the `AttachUniversalAuth` operationId) request,- // with any type of body and a specified content type.- //- // Attach Universal Auth configuration onto machine identity.- //- // Returns a wrapper object for the known response body format(s).- AttachUniversalAuthWithBodyWithResponse(ctx context.Context, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachUniversalAuthResponse, error)+ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "secretPath", *params.SecretPath, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {+ return nil, err+ } else {+ for _, qp := range strings.Split(queryFrag, "&") {+ rawQueryFragments = append(rawQueryFragments, qp)+ }+ }- // AttachUniversalAuthWithResponse performs a POST /api/v1/auth/universal-auth/identities/{identityId} (the `AttachUniversalAuth` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- //- // Attach Universal Auth configuration onto machine identity.- AttachUniversalAuthWithResponse(ctx context.Context, identityId string, body AttachUniversalAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachUniversalAuthResponse, error)+ }- // CreateUniversalAuthClientSecretWithBodyWithResponse performs a POST /api/v1/auth/universal-auth/identities/{identityId}/client-secrets (the `CreateUniversalAuthClientSecret` operationId) request,- // with any type of body and a specified content type.- //- // Create Universal Auth Client Secret for machine identity.- //- // Returns a wrapper object for the known response body format(s).- CreateUniversalAuthClientSecretWithBodyWithResponse(ctx context.Context, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUniversalAuthClientSecretResponse, error)+ if params.ViewSecretValue != nil {- // CreateUniversalAuthClientSecretWithResponse performs a POST /api/v1/auth/universal-auth/identities/{identityId}/client-secrets (the `CreateUniversalAuthClientSecret` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- //- // Create Universal Auth Client Secret for machine identity.- CreateUniversalAuthClientSecretWithResponse(ctx context.Context, identityId string, body CreateUniversalAuthClientSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUniversalAuthClientSecretResponse, error)+ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "viewSecretValue", *params.ViewSecretValue, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {+ return nil, err+ } else {+ for _, qp := range strings.Split(queryFrag, "&") {+ rawQueryFragments = append(rawQueryFragments, qp)+ }+ }- // LoginWithUniversalAuthWithBodyWithResponse performs a POST /api/v1/auth/universal-auth/login (the `LoginWithUniversalAuth` operationId) request,- // with any type of body and a specified content type.- //- // Login with Universal Auth for machine identity.- //- // Returns a wrapper object for the known response body format(s).- LoginWithUniversalAuthWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginWithUniversalAuthResponse, error)+ }- // LoginWithUniversalAuthWithResponse performs a POST /api/v1/auth/universal-auth/login (the `LoginWithUniversalAuth` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- //- // Login with Universal Auth for machine identity.- LoginWithUniversalAuthWithResponse(ctx context.Context, body LoginWithUniversalAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*LoginWithUniversalAuthResponse, error)+ if params.ExpandSecretReferences != nil {- // CreateMachineIdentityWithBodyWithResponse performs a POST /api/v1/identities (the `CreateMachineIdentity` operationId) request,- // with any type of body and a specified content type.- //- // Create machine identity.- //- // Returns a wrapper object for the known response body format(s).- CreateMachineIdentityWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMachineIdentityResponse, error)+ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "expandSecretReferences", *params.ExpandSecretReferences, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {+ return nil, err+ } else {+ for _, qp := range strings.Split(queryFrag, "&") {+ rawQueryFragments = append(rawQueryFragments, qp)+ }+ }- // CreateMachineIdentityWithResponse performs a POST /api/v1/identities (the `CreateMachineIdentity` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- //- // Create machine identity.- CreateMachineIdentityWithResponse(ctx context.Context, body CreateMachineIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMachineIdentityResponse, error)+ }- // InviteUsersToOrganizationWithBodyWithResponse performs a POST /api/v1/invite-org/signup (the `InviteUsersToOrganization` operationId) request,- // with any type of body and a specified content type.- //- // Returns a wrapper object for the known response body format(s).- InviteUsersToOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteUsersToOrganizationResponse, error)+ if params.Recursive != nil {- // InviteUsersToOrganizationWithResponse performs a POST /api/v1/invite-org/signup (the `InviteUsersToOrganization` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- InviteUsersToOrganizationWithResponse(ctx context.Context, body InviteUsersToOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteUsersToOrganizationResponse, error)+ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "recursive", *params.Recursive, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {+ return nil, err+ } else {+ for _, qp := range strings.Split(queryFrag, "&") {+ rawQueryFragments = append(rawQueryFragments, qp)+ }+ }- // VerifyUserToOrganizationWithBodyWithResponse performs a POST /api/v1/invite-org/verify (the `VerifyUserToOrganization` operationId) request,- // with any type of body and a specified content type.- //- // Returns a wrapper object for the known response body format(s).- VerifyUserToOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyUserToOrganizationResponse, error)+ }- // VerifyUserToOrganizationWithResponse performs a POST /api/v1/invite-org/verify (the `VerifyUserToOrganization` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- VerifyUserToOrganizationWithResponse(ctx context.Context, body VerifyUserToOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyUserToOrganizationResponse, error)+ if params.IncludePersonalOverrides != nil {- // GetOrganizationPlanWithResponse performs a GET /api/v1/organizations/{organizationId}/plan (the `GetOrganizationPlan` operationId) request.- //- // Returns a wrapper object for the known response body format(s).- GetOrganizationPlanWithResponse(ctx context.Context, organizationId string, params *GetOrganizationPlanParams, reqEditors ...RequestEditorFn) (*GetOrganizationPlanResponse, error)+ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "includePersonalOverrides", *params.IncludePersonalOverrides, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {+ return nil, err+ } else {+ for _, qp := range strings.Split(queryFrag, "&") {+ rawQueryFragments = append(rawQueryFragments, qp)+ }+ }- // CreateProjectWithBodyWithResponse performs a POST /api/v1/projects (the `CreateProject` operationId) request,- // with any type of body and a specified content type.- //- // Create a new project.- //- // Returns a wrapper object for the known response body format(s).- CreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)+ }- // CreateProjectWithResponse performs a POST /api/v1/projects (the `CreateProject` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- //- // Create a new project.- CreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)+ if params.IncludeImports != nil {- // ListProjectMachineIdentitiesWithResponse performs a GET /api/v1/projects/{projectId}/identities (the `ListProjectMachineIdentities` operationId) request.- //- // List identities in a project.- //- // Returns a wrapper object for the known response body format(s).- ListProjectMachineIdentitiesWithResponse(ctx context.Context, projectId string, params *ListProjectMachineIdentitiesParams, reqEditors ...RequestEditorFn) (*ListProjectMachineIdentitiesResponse, error)+ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "includeImports", *params.IncludeImports, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {+ return nil, err+ } else {+ for _, qp := range strings.Split(queryFrag, "&") {+ rawQueryFragments = append(rawQueryFragments, qp)+ }+ }- // CreateProjectMachineIdentityWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/identities (the `CreateProjectMachineIdentity` operationId) request,- // with any type of body and a specified content type.- //- // Create an identity in a project.- //- // Returns a wrapper object for the known response body format(s).- CreateProjectMachineIdentityWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectMachineIdentityResponse, error)+ }- // CreateProjectMachineIdentityWithResponse performs a POST /api/v1/projects/{projectId}/identities (the `CreateProjectMachineIdentity` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- //- // Create an identity in a project.- CreateProjectMachineIdentityWithResponse(ctx context.Context, projectId string, body CreateProjectMachineIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectMachineIdentityResponse, error)+ if params.TagSlugs != nil {- // InviteProjectMembersWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/memberships (the `InviteProjectMembers` operationId) request,- // with any type of body and a specified content type.- //- // Invite members to project.- //- // Returns a wrapper object for the known response body format(s).- InviteProjectMembersWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteProjectMembersResponse, error)+ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "tagSlugs", *params.TagSlugs, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {+ return nil, err+ } else {+ for _, qp := range strings.Split(queryFrag, "&") {+ rawQueryFragments = append(rawQueryFragments, qp)+ }+ }- // InviteProjectMembersWithResponse performs a POST /api/v1/projects/{projectId}/memberships (the `InviteProjectMembers` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- //- // Invite members to project.- InviteProjectMembersWithResponse(ctx context.Context, projectId string, body InviteProjectMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteProjectMembersResponse, error)+ }- // CreateProjectIdentityMembershipWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId} (the `CreateProjectIdentityMembership` operationId) request,- // with any type of body and a specified content type.- //- // Create project identity membership.- //- // Returns a wrapper object for the known response body format(s).- CreateProjectIdentityMembershipWithBodyWithResponse(ctx context.Context, projectId string, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectIdentityMembershipResponse, error)+ if encoded := queryValues.Encode(); encoded != "" {+ rawQueryFragments = append(rawQueryFragments, encoded)+ }+ queryURL.RawQuery = strings.Join(rawQueryFragments, "&")+ }- // CreateProjectIdentityMembershipWithResponse performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId} (the `CreateProjectIdentityMembership` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- //- // Create project identity membership.- CreateProjectIdentityMembershipWithResponse(ctx context.Context, projectId string, identityId string, body CreateProjectIdentityMembershipJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectIdentityMembershipResponse, error)+ req, err := http.NewRequest(http.MethodGet, queryURL.String(), nil)+ if err != nil {+ return nil, err+ }- // CreateOrganizationWithBodyWithResponse performs a POST /api/v2/organizations (the `CreateOrganization` operationId) request,- // with any type of body and a specified content type.- //- // Returns a wrapper object for the known response body format(s).- CreateOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)+ return req, nil+}- // CreateOrganizationWithResponse performs a POST /api/v2/organizations (the `CreateOrganization` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- CreateOrganizationWithResponse(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)+// NewGetSecretByNameV4Request constructs an http.Request for the GetSecretByNameV4 method+func NewGetSecretByNameV4Request(server string, secretName string, params *GetSecretByNameV4Params) (*http.Request, error) {+ var err error- // DeleteOrganizationWithResponse performs a DELETE /api/v2/organizations/{organizationId} (the `DeleteOrganization` operationId) request.- //- // Returns a wrapper object for the known response body format(s).- DeleteOrganizationWithResponse(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*DeleteOrganizationResponse, error)+ var pathParam0 string- // LoginV3WithBodyWithResponse performs a POST /api/v3/auth/login (the `LoginV3` operationId) request,- // with any type of body and a specified content type.- //- // Returns a wrapper object for the known response body format(s).- LoginV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginV3Response, error)+ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "secretName", secretName, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: ""})+ if err != nil {+ return nil, err+ }- // LoginV3WithResponse performs a POST /api/v3/auth/login (the `LoginV3` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- LoginV3WithResponse(ctx context.Context, body LoginV3JSONRequestBody, reqEditors ...RequestEditorFn) (*LoginV3Response, error)+ serverURL, err := url.Parse(server)+ if err != nil {+ return nil, err+ }- // SelectOrganizationV3WithBodyWithResponse performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request,- // with any type of body and a specified content type.- //- // Returns a wrapper object for the known response body format(s).- SelectOrganizationV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelectOrganizationV3Response, error)+ operationPath := fmt.Sprintf("/api/v4/secrets/%s", pathParam0)+ if operationPath[0] == '/' {+ operationPath = "." + operationPath+ }- // SelectOrganizationV3WithResponse performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- SelectOrganizationV3WithResponse(ctx context.Context, body SelectOrganizationV3JSONRequestBody, reqEditors ...RequestEditorFn) (*SelectOrganizationV3Response, error)+ queryURL, err := serverURL.Parse(operationPath)+ if err != nil {+ return nil, err+ }- // CompleteAccountSignupV3WithBodyWithResponse performs a POST /api/v3/signup/complete-account (the `CompleteAccountSignupV3` operationId) request,- // with any type of body and a specified content type.- //- // Returns a wrapper object for the known response body format(s).- CompleteAccountSignupV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CompleteAccountSignupV3Response, error)+ if params != nil {+ // queryValues collects non-styled parameters (passthrough, JSON)+ // that are safe to round-trip through url.Values.Encode().+ queryValues := queryURL.Query()+ // rawQueryFragments collects pre-encoded query fragments from+ // styled parameters, preserving literal commas as delimiters+ // per the OpenAPI spec (e.g. "color=blue,black,brown").+ var rawQueryFragments []string- // CompleteAccountSignupV3WithResponse performs a POST /api/v3/signup/complete-account (the `CompleteAccountSignupV3` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- CompleteAccountSignupV3WithResponse(ctx context.Context, body CompleteAccountSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*CompleteAccountSignupV3Response, error)+ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "projectId", params.ProjectId, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {+ return nil, err+ } else {+ for _, qp := range strings.Split(queryFrag, "&") {+ rawQueryFragments = append(rawQueryFragments, qp)+ }+ }- // BeginEmailSignupV3WithBodyWithResponse performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request,- // with any type of body and a specified content type.- //- // Returns a wrapper object for the known response body format(s).- BeginEmailSignupV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BeginEmailSignupV3Response, error)+ if params.Environment != nil {- // BeginEmailSignupV3WithResponse performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- BeginEmailSignupV3WithResponse(ctx context.Context, body BeginEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*BeginEmailSignupV3Response, error)+ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "environment", *params.Environment, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {+ return nil, err+ } else {+ for _, qp := range strings.Split(queryFrag, "&") {+ rawQueryFragments = append(rawQueryFragments, qp)+ }+ }- // VerifyEmailSignupV3WithBodyWithResponse performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request,- // with any type of body and a specified content type.- //- // Returns a wrapper object for the known response body format(s).- VerifyEmailSignupV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyEmailSignupV3Response, error)+ }- // VerifyEmailSignupV3WithResponse performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request.- // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).- VerifyEmailSignupV3WithResponse(ctx context.Context, body VerifyEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyEmailSignupV3Response, error)-}+ if params.SecretPath != nil {-type GetServerStatusResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- AuditLogStorageDisabled *bool `json:"auditLogStorageDisabled,omitempty"`- Date time.Time `json:"date"`- EmailConfigured *bool `json:"emailConfigured,omitempty"`- InviteOnlySignup *bool `json:"inviteOnlySignup,omitempty"`- MaxIdentityAccessTokenTTL *float32 `json:"maxIdentityAccessTokenTTL,omitempty"`- Message *string `json:"message,omitempty"`- RedisConfigured *bool `json:"redisConfigured,omitempty"`- SamlDefaultOrgSlug *string `json:"samlDefaultOrgSlug,omitempty"`- SecretScanningConfigured *bool `json:"secretScanningConfigured,omitempty"`- }- // JSON400 the response for an HTTP 400 `application/json` response- JSON400 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetServerStatus400JSONResponseBodyStatusCode `json:"statusCode"`- }- // JSON401 the response for an HTTP 401 `application/json` response- JSON401 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetServerStatus401JSONResponseBodyStatusCode `json:"statusCode"`- }- // JSON403 the response for an HTTP 403 `application/json` response- JSON403 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetServerStatus403JSONResponseBodyStatusCode `json:"statusCode"`- }- // JSON404 the response for an HTTP 404 `application/json` response- JSON404 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetServerStatus404JSONResponseBodyStatusCode `json:"statusCode"`- }- // JSON422 the response for an HTTP 422 `application/json` response- JSON422 *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode GetServerStatus422JSONResponseBodyStatusCode `json:"statusCode"`+ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "secretPath", *params.SecretPath, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {+ return nil, err+ } else {+ for _, qp := range strings.Split(queryFrag, "&") {+ rawQueryFragments = append(rawQueryFragments, qp)+ }+ }++ }++ if params.Version != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "version", *params.Version, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "number", Format: ""}); err != nil {+ return nil, err+ } else {+ for _, qp := range strings.Split(queryFrag, "&") {+ rawQueryFragments = append(rawQueryFragments, qp)+ }+ }++ }++ if params.Type != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "type", *params.Type, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {+ return nil, err+ } else {+ for _, qp := range strings.Split(queryFrag, "&") {+ rawQueryFragments = append(rawQueryFragments, qp)+ }+ }++ }++ if params.ViewSecretValue != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "viewSecretValue", *params.ViewSecretValue, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {+ return nil, err+ } else {+ for _, qp := range strings.Split(queryFrag, "&") {+ rawQueryFragments = append(rawQueryFragments, qp)+ }+ }++ }++ if params.ExpandSecretReferences != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "expandSecretReferences", *params.ExpandSecretReferences, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {+ return nil, err+ } else {+ for _, qp := range strings.Split(queryFrag, "&") {+ rawQueryFragments = append(rawQueryFragments, qp)+ }+ }++ }++ if params.IncludeImports != nil {++ if queryFrag, err := runtime.StyleParamWithOptions("form", true, "includeImports", *params.IncludeImports, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationQuery, Type: "string", Format: ""}); err != nil {+ return nil, err+ } else {+ for _, qp := range strings.Split(queryFrag, "&") {+ rawQueryFragments = append(rawQueryFragments, qp)+ }+ }++ }++ if encoded := queryValues.Encode(); encoded != "" {+ rawQueryFragments = append(rawQueryFragments, encoded)+ }+ queryURL.RawQuery = strings.Join(rawQueryFragments, "&")}- // JSON500 the response for an HTTP 500 `application/json` response- JSON500 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetServerStatus500JSONResponseBodyStatusCode `json:"statusCode"`++ req, err := http.NewRequest(http.MethodGet, queryURL.String(), nil)+ if err != nil {+ return nil, err}-}-// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r GetServerStatusResponse) GetJSON200() *struct {- AuditLogStorageDisabled *bool `json:"auditLogStorageDisabled,omitempty"`- Date time.Time `json:"date"`- EmailConfigured *bool `json:"emailConfigured,omitempty"`- InviteOnlySignup *bool `json:"inviteOnlySignup,omitempty"`- MaxIdentityAccessTokenTTL *float32 `json:"maxIdentityAccessTokenTTL,omitempty"`- Message *string `json:"message,omitempty"`- RedisConfigured *bool `json:"redisConfigured,omitempty"`- SamlDefaultOrgSlug *string `json:"samlDefaultOrgSlug,omitempty"`- SecretScanningConfigured *bool `json:"secretScanningConfigured,omitempty"`-} {- return r.JSON200+ return req, nil}-// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r GetServerStatusResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetServerStatus400JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON400+// NewCreateSecretV4Request calls the generic CreateSecretV4 builder with application/json body+func NewCreateSecretV4Request(server string, secretName string, body CreateSecretV4JSONRequestBody) (*http.Request, error) {+ var bodyReader io.Reader+ buf, err := json.Marshal(body)+ if err != nil {+ return nil, err+ }+ bodyReader = bytes.NewReader(buf)+ return NewCreateSecretV4RequestWithBody(server, secretName, "application/json", bodyReader)}-// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r GetServerStatusResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetServerStatus401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401-}+// NewCreateSecretV4RequestWithBody constructs an http.Request for the CreateSecretV4 method, with any body, and a specified content type+func NewCreateSecretV4RequestWithBody(server string, secretName string, contentType string, body io.Reader) (*http.Request, error) {+ var err error-// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r GetServerStatusResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetServerStatus403JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON403-}+ var pathParam0 string-// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r GetServerStatusResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetServerStatus404JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON404-}+ pathParam0, err = runtime.StyleParamWithOptions("simple", false, "secretName", secretName, runtime.StyleParamOptions{ParamLocation: runtime.ParamLocationPath, Type: "string", Format: ""})+ if err != nil {+ return nil, err+ }-// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r GetServerStatusResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode GetServerStatus422JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON422-}+ serverURL, err := url.Parse(server)+ if err != nil {+ return nil, err+ }-// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r GetServerStatusResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetServerStatus500JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON500-}+ operationPath := fmt.Sprintf("/api/v4/secrets/%s", pathParam0)+ if operationPath[0] == '/' {+ operationPath = "." + operationPath+ }-// GetBody returns the raw response body bytes-func (r GetServerStatusResponse) GetBody() []byte {- return r.Body-}+ queryURL, err := serverURL.Parse(operationPath)+ if err != nil {+ return nil, err+ }-// Status returns HTTPResponse.Status-func (r GetServerStatusResponse) Status() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Status+ req, err := http.NewRequest(http.MethodPost, queryURL.String(), body)+ if err != nil {+ return nil, err}- return http.StatusText(0)++ req.Header.Add("Content-Type", contentType)++ return req, nil}-// StatusCode returns HTTPResponse.StatusCode-func (r GetServerStatusResponse) StatusCode() int {- if r.HTTPResponse != nil {- return r.HTTPResponse.StatusCode+func (c *Client) applyEditors(ctx context.Context, req *http.Request, additionalEditors []RequestEditorFn) error {+ for _, r := range c.RequestEditors {+ if err := r(ctx, req); err != nil {+ return err+ }}- return 0+ for _, r := range additionalEditors {+ if err := r(ctx, req); err != nil {+ return err+ }+ }+ return nil}-// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r GetServerStatusResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")+// ClientWithResponses builds on ClientInterface to offer response payloads+type ClientWithResponses struct {+ ClientInterface+}++// NewClientWithResponses creates a new ClientWithResponses, which wraps+// Client with return type handling+func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) {+ client, err := NewClient(server, opts...)+ if err != nil {+ return nil, err}- return ""+ return &ClientWithResponses{client}, nil}-type AdminBootstrapResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- Identity struct {+// WithBaseURL overrides the baseURL.+func WithBaseURL(baseURL string) ClientOption {+ return func(c *Client) error {+ newBaseURL, err := url.Parse(baseURL)+ if err != nil {+ return err+ }+ c.Server = newBaseURL.String()+ return nil+ }+}++// ClientWithResponsesInterface is the interface specification for the client with responses above.+type ClientWithResponsesInterface interface {++ // GetServerStatusWithResponse performs a GET /api/status (the `GetServerStatus` operationId) request.+ //+ // Returns a wrapper object for the known response body format(s).+ GetServerStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetServerStatusResponse, error)++ // AdminBootstrapWithBodyWithResponse performs a POST /api/v1/admin/bootstrap (the `AdminBootstrap` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ AdminBootstrapWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AdminBootstrapResponse, error)++ // AdminBootstrapWithResponse performs a POST /api/v1/admin/bootstrap (the `AdminBootstrap` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ AdminBootstrapWithResponse(ctx context.Context, body AdminBootstrapJSONRequestBody, reqEditors ...RequestEditorFn) (*AdminBootstrapResponse, error)++ // UpdateAdminConfigWithBodyWithResponse performs a PATCH /api/v1/admin/config (the `UpdateAdminConfig` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ UpdateAdminConfigWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAdminConfigResponse, error)++ // UpdateAdminConfigWithResponse performs a PATCH /api/v1/admin/config (the `UpdateAdminConfig` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ UpdateAdminConfigWithResponse(ctx context.Context, body UpdateAdminConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAdminConfigResponse, error)++ // CreateGitHubAppConnectionWithBodyWithResponse performs a POST /api/v1/app-connections/github (the `CreateGitHubAppConnection` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create a GitHub Connection.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateGitHubAppConnectionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGitHubAppConnectionResponse, error)++ // CreateGitHubAppConnectionWithResponse performs a POST /api/v1/app-connections/github (the `CreateGitHubAppConnection` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Create a GitHub Connection.+ CreateGitHubAppConnectionWithResponse(ctx context.Context, body CreateGitHubAppConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGitHubAppConnectionResponse, error)++ // DeleteGitHubAppConnectionWithResponse performs a DELETE /api/v1/app-connections/github/{connectionId} (the `DeleteGitHubAppConnection` operationId) request.+ //+ // Delete the specified GitHub Connection.+ //+ // Returns a wrapper object for the known response body format(s).+ DeleteGitHubAppConnectionWithResponse(ctx context.Context, connectionId openapi_types.UUID, reqEditors ...RequestEditorFn) (*DeleteGitHubAppConnectionResponse, error)++ // RefreshAuthTokenWithResponse performs a POST /api/v1/auth/token (the `RefreshAuthToken` operationId) request.+ //+ // Returns a wrapper object for the known response body format(s).+ RefreshAuthTokenWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RefreshAuthTokenResponse, error)++ // AttachUniversalAuthWithBodyWithResponse performs a POST /api/v1/auth/universal-auth/identities/{identityId} (the `AttachUniversalAuth` operationId) request,+ // with any type of body and a specified content type.+ //+ // Attach Universal Auth configuration onto machine identity.+ //+ // Returns a wrapper object for the known response body format(s).+ AttachUniversalAuthWithBodyWithResponse(ctx context.Context, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AttachUniversalAuthResponse, error)++ // AttachUniversalAuthWithResponse performs a POST /api/v1/auth/universal-auth/identities/{identityId} (the `AttachUniversalAuth` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Attach Universal Auth configuration onto machine identity.+ AttachUniversalAuthWithResponse(ctx context.Context, identityId string, body AttachUniversalAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*AttachUniversalAuthResponse, error)++ // CreateUniversalAuthClientSecretWithBodyWithResponse performs a POST /api/v1/auth/universal-auth/identities/{identityId}/client-secrets (the `CreateUniversalAuthClientSecret` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create Universal Auth Client Secret for machine identity.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateUniversalAuthClientSecretWithBodyWithResponse(ctx context.Context, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateUniversalAuthClientSecretResponse, error)++ // CreateUniversalAuthClientSecretWithResponse performs a POST /api/v1/auth/universal-auth/identities/{identityId}/client-secrets (the `CreateUniversalAuthClientSecret` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Create Universal Auth Client Secret for machine identity.+ CreateUniversalAuthClientSecretWithResponse(ctx context.Context, identityId string, body CreateUniversalAuthClientSecretJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateUniversalAuthClientSecretResponse, error)++ // LoginWithUniversalAuthWithBodyWithResponse performs a POST /api/v1/auth/universal-auth/login (the `LoginWithUniversalAuth` operationId) request,+ // with any type of body and a specified content type.+ //+ // Login with Universal Auth for machine identity.+ //+ // Returns a wrapper object for the known response body format(s).+ LoginWithUniversalAuthWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginWithUniversalAuthResponse, error)++ // LoginWithUniversalAuthWithResponse performs a POST /api/v1/auth/universal-auth/login (the `LoginWithUniversalAuth` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Login with Universal Auth for machine identity.+ LoginWithUniversalAuthWithResponse(ctx context.Context, body LoginWithUniversalAuthJSONRequestBody, reqEditors ...RequestEditorFn) (*LoginWithUniversalAuthResponse, error)++ // CreateMachineIdentityWithBodyWithResponse performs a POST /api/v1/identities (the `CreateMachineIdentity` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create machine identity.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateMachineIdentityWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMachineIdentityResponse, error)++ // CreateMachineIdentityWithResponse performs a POST /api/v1/identities (the `CreateMachineIdentity` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Create machine identity.+ CreateMachineIdentityWithResponse(ctx context.Context, body CreateMachineIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMachineIdentityResponse, error)++ // InviteUsersToOrganizationWithBodyWithResponse performs a POST /api/v1/invite-org/signup (the `InviteUsersToOrganization` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ InviteUsersToOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteUsersToOrganizationResponse, error)++ // InviteUsersToOrganizationWithResponse performs a POST /api/v1/invite-org/signup (the `InviteUsersToOrganization` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ InviteUsersToOrganizationWithResponse(ctx context.Context, body InviteUsersToOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteUsersToOrganizationResponse, error)++ // VerifyUserToOrganizationWithBodyWithResponse performs a POST /api/v1/invite-org/verify (the `VerifyUserToOrganization` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ VerifyUserToOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyUserToOrganizationResponse, error)++ // VerifyUserToOrganizationWithResponse performs a POST /api/v1/invite-org/verify (the `VerifyUserToOrganization` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ VerifyUserToOrganizationWithResponse(ctx context.Context, body VerifyUserToOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyUserToOrganizationResponse, error)++ // GetOrganizationPlanWithResponse performs a GET /api/v1/organizations/{organizationId}/plan (the `GetOrganizationPlan` operationId) request.+ //+ // Returns a wrapper object for the known response body format(s).+ GetOrganizationPlanWithResponse(ctx context.Context, organizationId string, params *GetOrganizationPlanParams, reqEditors ...RequestEditorFn) (*GetOrganizationPlanResponse, error)++ // CreateProjectWithBodyWithResponse performs a POST /api/v1/projects (the `CreateProject` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create a new project.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)++ // CreateProjectWithResponse performs a POST /api/v1/projects (the `CreateProject` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Create a new project.+ CreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error)++ // ListProjectMachineIdentitiesWithResponse performs a GET /api/v1/projects/{projectId}/identities (the `ListProjectMachineIdentities` operationId) request.+ //+ // List identities in a project.+ //+ // Returns a wrapper object for the known response body format(s).+ ListProjectMachineIdentitiesWithResponse(ctx context.Context, projectId string, params *ListProjectMachineIdentitiesParams, reqEditors ...RequestEditorFn) (*ListProjectMachineIdentitiesResponse, error)++ // CreateProjectMachineIdentityWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/identities (the `CreateProjectMachineIdentity` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create an identity in a project.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateProjectMachineIdentityWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectMachineIdentityResponse, error)++ // CreateProjectMachineIdentityWithResponse performs a POST /api/v1/projects/{projectId}/identities (the `CreateProjectMachineIdentity` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Create an identity in a project.+ CreateProjectMachineIdentityWithResponse(ctx context.Context, projectId string, body CreateProjectMachineIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectMachineIdentityResponse, error)++ // InviteProjectMembersWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/memberships (the `InviteProjectMembers` operationId) request,+ // with any type of body and a specified content type.+ //+ // Invite members to project.+ //+ // Returns a wrapper object for the known response body format(s).+ InviteProjectMembersWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteProjectMembersResponse, error)++ // InviteProjectMembersWithResponse performs a POST /api/v1/projects/{projectId}/memberships (the `InviteProjectMembers` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Invite members to project.+ InviteProjectMembersWithResponse(ctx context.Context, projectId string, body InviteProjectMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteProjectMembersResponse, error)++ // CreateProjectIdentityMembershipWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId} (the `CreateProjectIdentityMembership` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create project identity membership.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateProjectIdentityMembershipWithBodyWithResponse(ctx context.Context, projectId string, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectIdentityMembershipResponse, error)++ // CreateProjectIdentityMembershipWithResponse performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId} (the `CreateProjectIdentityMembership` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Create project identity membership.+ CreateProjectIdentityMembershipWithResponse(ctx context.Context, projectId string, identityId string, body CreateProjectIdentityMembershipJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectIdentityMembershipResponse, error)++ // CreateOrganizationWithBodyWithResponse performs a POST /api/v2/organizations (the `CreateOrganization` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)++ // CreateOrganizationWithResponse performs a POST /api/v2/organizations (the `CreateOrganization` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ CreateOrganizationWithResponse(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error)++ // DeleteOrganizationWithResponse performs a DELETE /api/v2/organizations/{organizationId} (the `DeleteOrganization` operationId) request.+ //+ // Returns a wrapper object for the known response body format(s).+ DeleteOrganizationWithResponse(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*DeleteOrganizationResponse, error)++ // LoginV3WithBodyWithResponse performs a POST /api/v3/auth/login (the `LoginV3` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ LoginV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginV3Response, error)++ // LoginV3WithResponse performs a POST /api/v3/auth/login (the `LoginV3` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ LoginV3WithResponse(ctx context.Context, body LoginV3JSONRequestBody, reqEditors ...RequestEditorFn) (*LoginV3Response, error)++ // SelectOrganizationV3WithBodyWithResponse performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ SelectOrganizationV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelectOrganizationV3Response, error)++ // SelectOrganizationV3WithResponse performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ SelectOrganizationV3WithResponse(ctx context.Context, body SelectOrganizationV3JSONRequestBody, reqEditors ...RequestEditorFn) (*SelectOrganizationV3Response, error)++ // CompleteAccountSignupV3WithBodyWithResponse performs a POST /api/v3/signup/complete-account (the `CompleteAccountSignupV3` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ CompleteAccountSignupV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CompleteAccountSignupV3Response, error)++ // CompleteAccountSignupV3WithResponse performs a POST /api/v3/signup/complete-account (the `CompleteAccountSignupV3` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ CompleteAccountSignupV3WithResponse(ctx context.Context, body CompleteAccountSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*CompleteAccountSignupV3Response, error)++ // BeginEmailSignupV3WithBodyWithResponse performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ BeginEmailSignupV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BeginEmailSignupV3Response, error)++ // BeginEmailSignupV3WithResponse performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ BeginEmailSignupV3WithResponse(ctx context.Context, body BeginEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*BeginEmailSignupV3Response, error)++ // VerifyEmailSignupV3WithBodyWithResponse performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request,+ // with any type of body and a specified content type.+ //+ // Returns a wrapper object for the known response body format(s).+ VerifyEmailSignupV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyEmailSignupV3Response, error)++ // VerifyEmailSignupV3WithResponse performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ VerifyEmailSignupV3WithResponse(ctx context.Context, body VerifyEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyEmailSignupV3Response, error)++ // ListSecretsV4WithResponse performs a GET /api/v4/secrets (the `ListSecretsV4` operationId) request.+ //+ // List secrets.+ //+ // Returns a wrapper object for the known response body format(s).+ ListSecretsV4WithResponse(ctx context.Context, params *ListSecretsV4Params, reqEditors ...RequestEditorFn) (*ListSecretsV4Response, error)++ // GetSecretByNameV4WithResponse performs a GET /api/v4/secrets/{secretName} (the `GetSecretByNameV4` operationId) request.+ //+ // Get a secret by name.+ //+ // Returns a wrapper object for the known response body format(s).+ GetSecretByNameV4WithResponse(ctx context.Context, secretName string, params *GetSecretByNameV4Params, reqEditors ...RequestEditorFn) (*GetSecretByNameV4Response, error)++ // CreateSecretV4WithBodyWithResponse performs a POST /api/v4/secrets/{secretName} (the `CreateSecretV4` operationId) request,+ // with any type of body and a specified content type.+ //+ // Create secret.+ //+ // Returns a wrapper object for the known response body format(s).+ CreateSecretV4WithBodyWithResponse(ctx context.Context, secretName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecretV4Response, error)++ // CreateSecretV4WithResponse performs a POST /api/v4/secrets/{secretName} (the `CreateSecretV4` operationId) request.+ // Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+ //+ // Create secret.+ CreateSecretV4WithResponse(ctx context.Context, secretName string, body CreateSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecretV4Response, error)+}++type GetServerStatusResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ AuditLogStorageDisabled *bool `json:"auditLogStorageDisabled,omitempty"`+ Date time.Time `json:"date"`+ EmailConfigured *bool `json:"emailConfigured,omitempty"`+ InviteOnlySignup *bool `json:"inviteOnlySignup,omitempty"`+ MaxIdentityAccessTokenTTL *float32 `json:"maxIdentityAccessTokenTTL,omitempty"`+ Message *string `json:"message,omitempty"`+ RedisConfigured *bool `json:"redisConfigured,omitempty"`+ SamlDefaultOrgSlug *string `json:"samlDefaultOrgSlug,omitempty"`+ SecretScanningConfigured *bool `json:"secretScanningConfigured,omitempty"`+ }+ // JSON400 the response for an HTTP 400 `application/json` response+ JSON400 *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetServerStatus400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON401 the response for an HTTP 401 `application/json` response+ JSON401 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetServerStatus401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON403 the response for an HTTP 403 `application/json` response+ JSON403 *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetServerStatus403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON404 the response for an HTTP 404 `application/json` response+ JSON404 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetServerStatus404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON422 the response for an HTTP 422 `application/json` response+ JSON422 *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetServerStatus422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON500 the response for an HTTP 500 `application/json` response+ JSON500 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetServerStatus500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r GetServerStatusResponse) GetJSON200() *struct {+ AuditLogStorageDisabled *bool `json:"auditLogStorageDisabled,omitempty"`+ Date time.Time `json:"date"`+ EmailConfigured *bool `json:"emailConfigured,omitempty"`+ InviteOnlySignup *bool `json:"inviteOnlySignup,omitempty"`+ MaxIdentityAccessTokenTTL *float32 `json:"maxIdentityAccessTokenTTL,omitempty"`+ Message *string `json:"message,omitempty"`+ RedisConfigured *bool `json:"redisConfigured,omitempty"`+ SamlDefaultOrgSlug *string `json:"samlDefaultOrgSlug,omitempty"`+ SecretScanningConfigured *bool `json:"secretScanningConfigured,omitempty"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r GetServerStatusResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetServerStatus400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r GetServerStatusResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetServerStatus401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r GetServerStatusResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetServerStatus403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r GetServerStatusResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetServerStatus404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r GetServerStatusResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetServerStatus422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r GetServerStatusResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetServerStatus500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r GetServerStatusResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r GetServerStatusResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r GetServerStatusResponse) StatusCode() int {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.StatusCode+ }+ return 0+}++// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers+func (r GetServerStatusResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type AdminBootstrapResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Identity struct {Credentials struct {Token string `json:"token"`} `json:"credentials"`@@ -8460,146 +9674,675 @@ type AdminBootstrapResponse struct {}// JSON400 the response for an HTTP 400 `application/json` responseJSON400 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AdminBootstrap400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AdminBootstrap400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON401 the response for an HTTP 401 `application/json` response+ JSON401 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AdminBootstrap401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON403 the response for an HTTP 403 `application/json` response+ JSON403 *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AdminBootstrap403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON404 the response for an HTTP 404 `application/json` response+ JSON404 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AdminBootstrap404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON422 the response for an HTTP 422 `application/json` response+ JSON422 *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode AdminBootstrap422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON500 the response for an HTTP 500 `application/json` response+ JSON500 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AdminBootstrap500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r AdminBootstrapResponse) GetJSON200() *struct {+ Identity struct {+ Credentials struct {+ Token string `json:"token"`+ } `json:"credentials"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"identity"`+ Message string `json:"message"`+ Organization struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"organization"`+ User struct {+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ Id openapi_types.UUID `json:"id"`+ LastName *string `json:"lastName,omitempty"`+ SuperAdmin *bool `json:"superAdmin,omitempty"`+ Username string `json:"username"`+ } `json:"user"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r AdminBootstrapResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AdminBootstrap400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r AdminBootstrapResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AdminBootstrap401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r AdminBootstrapResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AdminBootstrap403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r AdminBootstrapResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AdminBootstrap404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r AdminBootstrapResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode AdminBootstrap422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r AdminBootstrapResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AdminBootstrap500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r AdminBootstrapResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r AdminBootstrapResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r AdminBootstrapResponse) StatusCode() int {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.StatusCode+ }+ return 0+}++// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers+func (r AdminBootstrapResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type UpdateAdminConfigResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Config struct {+ AdminIdentityIds *[]string `json:"adminIdentityIds,omitempty"`+ AllowSignUp *bool `json:"allowSignUp,omitempty"`+ AllowedSignUpDomain *string `json:"allowedSignUpDomain,omitempty"`+ AuthConsentContent *string `json:"authConsentContent,omitempty"`+ CreatedAt *time.Time `json:"createdAt,omitempty"`+ DefaultAuthOrgAuthEnforced *bool `json:"defaultAuthOrgAuthEnforced,omitempty"`+ DefaultAuthOrgAuthMethod *string `json:"defaultAuthOrgAuthMethod,omitempty"`+ DefaultAuthOrgId *openapi_types.UUID `json:"defaultAuthOrgId,omitempty"`+ DefaultAuthOrgSlug *string `json:"defaultAuthOrgSlug"`+ EnabledLoginMethods *[]string `json:"enabledLoginMethods,omitempty"`+ FipsEnabled *bool `json:"fipsEnabled,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Initialized *bool `json:"initialized,omitempty"`+ InstanceId *openapi_types.UUID `json:"instanceId,omitempty"`+ IsClickhouseAuditLogEnabled *bool `json:"isClickhouseAuditLogEnabled,omitempty"`+ IsMigrationModeOn *bool `json:"isMigrationModeOn,omitempty"`+ IsOfflineUsageReportsEnabled *bool `json:"isOfflineUsageReportsEnabled,omitempty"`+ IsPublicSecretSharingDisabled *bool `json:"isPublicSecretSharingDisabled,omitempty"`+ IsSecretScanningDisabled *bool `json:"isSecretScanningDisabled,omitempty"`+ KubernetesAutoFetchServiceAccountToken *bool `json:"kubernetesAutoFetchServiceAccountToken,omitempty"`+ LatestAvailableVersion *string `json:"latestAvailableVersion,omitempty"`+ OnboardingCompleted *bool `json:"onboardingCompleted,omitempty"`+ PageFrameContent *string `json:"pageFrameContent,omitempty"`+ ParamsFolderSecretDetectionEnabled *bool `json:"paramsFolderSecretDetectionEnabled,omitempty"`+ PasswordPolicy struct {+ Requirements []struct {+ Code string `json:"code"`+ Flags *string `json:"flags,omitempty"`+ IsPrimary bool `json:"isPrimary"`+ MaxConsecutiveCharacters *int `json:"maxConsecutiveCharacters,omitempty"`+ Message string `json:"message"`+ Patterns []string `json:"patterns"`+ ShouldMatch bool `json:"shouldMatch"`+ ValidationMessage string `json:"validationMessage"`+ } `json:"requirements"`+ } `json:"passwordPolicy"`+ TrustLdapEmails *bool `json:"trustLdapEmails,omitempty"`+ } `json:"config"`+ }+ // JSON400 the response for an HTTP 400 `application/json` response+ JSON400 *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAdminConfig400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON401 the response for an HTTP 401 `application/json` response+ JSON401 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAdminConfig401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON403 the response for an HTTP 403 `application/json` response+ JSON403 *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAdminConfig403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON404 the response for an HTTP 404 `application/json` response+ JSON404 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAdminConfig404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON422 the response for an HTTP 422 `application/json` response+ JSON422 *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAdminConfig422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON500 the response for an HTTP 500 `application/json` response+ JSON500 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAdminConfig500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r UpdateAdminConfigResponse) GetJSON200() *struct {+ Config struct {+ AdminIdentityIds *[]string `json:"adminIdentityIds,omitempty"`+ AllowSignUp *bool `json:"allowSignUp,omitempty"`+ AllowedSignUpDomain *string `json:"allowedSignUpDomain,omitempty"`+ AuthConsentContent *string `json:"authConsentContent,omitempty"`+ CreatedAt *time.Time `json:"createdAt,omitempty"`+ DefaultAuthOrgAuthEnforced *bool `json:"defaultAuthOrgAuthEnforced,omitempty"`+ DefaultAuthOrgAuthMethod *string `json:"defaultAuthOrgAuthMethod,omitempty"`+ DefaultAuthOrgId *openapi_types.UUID `json:"defaultAuthOrgId,omitempty"`+ DefaultAuthOrgSlug *string `json:"defaultAuthOrgSlug"`+ EnabledLoginMethods *[]string `json:"enabledLoginMethods,omitempty"`+ FipsEnabled *bool `json:"fipsEnabled,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Initialized *bool `json:"initialized,omitempty"`+ InstanceId *openapi_types.UUID `json:"instanceId,omitempty"`+ IsClickhouseAuditLogEnabled *bool `json:"isClickhouseAuditLogEnabled,omitempty"`+ IsMigrationModeOn *bool `json:"isMigrationModeOn,omitempty"`+ IsOfflineUsageReportsEnabled *bool `json:"isOfflineUsageReportsEnabled,omitempty"`+ IsPublicSecretSharingDisabled *bool `json:"isPublicSecretSharingDisabled,omitempty"`+ IsSecretScanningDisabled *bool `json:"isSecretScanningDisabled,omitempty"`+ KubernetesAutoFetchServiceAccountToken *bool `json:"kubernetesAutoFetchServiceAccountToken,omitempty"`+ LatestAvailableVersion *string `json:"latestAvailableVersion,omitempty"`+ OnboardingCompleted *bool `json:"onboardingCompleted,omitempty"`+ PageFrameContent *string `json:"pageFrameContent,omitempty"`+ ParamsFolderSecretDetectionEnabled *bool `json:"paramsFolderSecretDetectionEnabled,omitempty"`+ PasswordPolicy struct {+ Requirements []struct {+ Code string `json:"code"`+ Flags *string `json:"flags,omitempty"`+ IsPrimary bool `json:"isPrimary"`+ MaxConsecutiveCharacters *int `json:"maxConsecutiveCharacters,omitempty"`+ Message string `json:"message"`+ Patterns []string `json:"patterns"`+ ShouldMatch bool `json:"shouldMatch"`+ ValidationMessage string `json:"validationMessage"`+ } `json:"requirements"`+ } `json:"passwordPolicy"`+ TrustLdapEmails *bool `json:"trustLdapEmails,omitempty"`+ } `json:"config"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r UpdateAdminConfigResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAdminConfig400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r UpdateAdminConfigResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAdminConfig401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r UpdateAdminConfigResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAdminConfig403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r UpdateAdminConfigResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAdminConfig404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r UpdateAdminConfigResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAdminConfig422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r UpdateAdminConfigResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAdminConfig500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r UpdateAdminConfigResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r UpdateAdminConfigResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r UpdateAdminConfigResponse) StatusCode() int {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.StatusCode+ }+ return 0+}++// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers+func (r UpdateAdminConfigResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type CreateGitHubAppConnectionResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ AppConnection CreateGitHubAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+ }+ // JSON400 the response for an HTTP 400 `application/json` response+ JSON400 *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`}// JSON401 the response for an HTTP 401 `application/json` responseJSON401 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AdminBootstrap401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`}// JSON403 the response for an HTTP 403 `application/json` responseJSON403 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AdminBootstrap403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`}// JSON404 the response for an HTTP 404 `application/json` responseJSON404 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AdminBootstrap404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`}// JSON422 the response for an HTTP 422 `application/json` responseJSON422 *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode AdminBootstrap422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`}// JSON500 the response for an HTTP 500 `application/json` responseJSON500 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AdminBootstrap500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`}}// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r AdminBootstrapResponse) GetJSON200() *struct {- Identity struct {- Credentials struct {- Token string `json:"token"`- } `json:"credentials"`- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- } `json:"identity"`- Message string `json:"message"`- Organization struct {- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"organization"`- User struct {- Email *string `json:"email,omitempty"`- FirstName *string `json:"firstName,omitempty"`- Id openapi_types.UUID `json:"id"`- LastName *string `json:"lastName,omitempty"`- SuperAdmin *bool `json:"superAdmin,omitempty"`- Username string `json:"username"`- } `json:"user"`+func (r CreateGitHubAppConnectionResponse) GetJSON200() *struct {+ AppConnection CreateGitHubAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`} {return r.JSON200}// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r AdminBootstrapResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AdminBootstrap400JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateGitHubAppConnectionResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON400+}++// GetJSON401 returns the response for an HTTP 401 `application/json` response+func (r CreateGitHubAppConnectionResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r CreateGitHubAppConnectionResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON403+}++// GetJSON404 returns the response for an HTTP 404 `application/json` response+func (r CreateGitHubAppConnectionResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON404+}++// GetJSON422 returns the response for an HTTP 422 `application/json` response+func (r CreateGitHubAppConnectionResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON422+}++// GetJSON500 returns the response for an HTTP 500 `application/json` response+func (r CreateGitHubAppConnectionResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON500+}++// GetBody returns the raw response body bytes+func (r CreateGitHubAppConnectionResponse) GetBody() []byte {+ return r.Body+}++// Status returns HTTPResponse.Status+func (r CreateGitHubAppConnectionResponse) Status() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Status+ }+ return http.StatusText(0)+}++// StatusCode returns HTTPResponse.StatusCode+func (r CreateGitHubAppConnectionResponse) StatusCode() int {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.StatusCode+ }+ return 0+}++// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers+func (r CreateGitHubAppConnectionResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type DeleteGitHubAppConnectionResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ AppConnection DeleteGitHubAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+ }+ // JSON400 the response for an HTTP 400 `application/json` response+ JSON400 *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON401 the response for an HTTP 401 `application/json` response+ JSON401 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON403 the response for an HTTP 403 `application/json` response+ JSON403 *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON404 the response for an HTTP 404 `application/json` response+ JSON404 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON422 the response for an HTTP 422 `application/json` response+ JSON422 *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON500 the response for an HTTP 500 `application/json` response+ JSON500 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r DeleteGitHubAppConnectionResponse) GetJSON200() *struct {+ AppConnection DeleteGitHubAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+} {+ return r.JSON200+}++// GetJSON400 returns the response for an HTTP 400 `application/json` response+func (r DeleteGitHubAppConnectionResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON400}// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r AdminBootstrapResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AdminBootstrap401JSONResponseBodyStatusCode `json:"statusCode"`+func (r DeleteGitHubAppConnectionResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON401}// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r AdminBootstrapResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AdminBootstrap403JSONResponseBodyStatusCode `json:"statusCode"`+func (r DeleteGitHubAppConnectionResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON403}// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r AdminBootstrapResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AdminBootstrap404JSONResponseBodyStatusCode `json:"statusCode"`+func (r DeleteGitHubAppConnectionResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON404}// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r AdminBootstrapResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode AdminBootstrap422JSONResponseBodyStatusCode `json:"statusCode"`+func (r DeleteGitHubAppConnectionResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON422}// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r AdminBootstrapResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AdminBootstrap500JSONResponseBodyStatusCode `json:"statusCode"`+func (r DeleteGitHubAppConnectionResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON500}// GetBody returns the raw response body bytes-func (r AdminBootstrapResponse) GetBody() []byte {+func (r DeleteGitHubAppConnectionResponse) GetBody() []byte {return r.Body}// Status returns HTTPResponse.Status-func (r AdminBootstrapResponse) Status() string {+func (r DeleteGitHubAppConnectionResponse) Status() string {if r.HTTPResponse != nil {return r.HTTPResponse.Status}@@ -8607,7 +10350,7 @@ func (r AdminBootstrapResponse) Status() string {}// StatusCode returns HTTPResponse.StatusCode-func (r AdminBootstrapResponse) StatusCode() int {+func (r DeleteGitHubAppConnectionResponse) StatusCode() int {if r.HTTPResponse != nil {return r.HTTPResponse.StatusCode}@@ -8615,218 +10358,148 @@ func (r AdminBootstrapResponse) StatusCode() int {}// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r AdminBootstrapResponse) ContentType() string {+func (r DeleteGitHubAppConnectionResponse) ContentType() string {if r.HTTPResponse != nil {return r.HTTPResponse.Header.Get("Content-Type")}return ""}-type UpdateAdminConfigResponse struct {+type RefreshAuthTokenResponse struct {Body []byteHTTPResponse *http.Response// JSON200 the response for an HTTP 200 `application/json` responseJSON200 *struct {- Config struct {- AdminIdentityIds *[]string `json:"adminIdentityIds,omitempty"`- AllowSignUp *bool `json:"allowSignUp,omitempty"`- AllowedSignUpDomain *string `json:"allowedSignUpDomain,omitempty"`- AuthConsentContent *string `json:"authConsentContent,omitempty"`- CreatedAt *time.Time `json:"createdAt,omitempty"`- DefaultAuthOrgAuthEnforced *bool `json:"defaultAuthOrgAuthEnforced,omitempty"`- DefaultAuthOrgAuthMethod *string `json:"defaultAuthOrgAuthMethod,omitempty"`- DefaultAuthOrgId *openapi_types.UUID `json:"defaultAuthOrgId,omitempty"`- DefaultAuthOrgSlug *string `json:"defaultAuthOrgSlug"`- EnabledLoginMethods *[]string `json:"enabledLoginMethods,omitempty"`- FipsEnabled *bool `json:"fipsEnabled,omitempty"`- Id openapi_types.UUID `json:"id"`- Initialized *bool `json:"initialized,omitempty"`- InstanceId *openapi_types.UUID `json:"instanceId,omitempty"`- IsClickhouseAuditLogEnabled *bool `json:"isClickhouseAuditLogEnabled,omitempty"`- IsMigrationModeOn *bool `json:"isMigrationModeOn,omitempty"`- IsOfflineUsageReportsEnabled *bool `json:"isOfflineUsageReportsEnabled,omitempty"`- IsPublicSecretSharingDisabled *bool `json:"isPublicSecretSharingDisabled,omitempty"`- IsSecretScanningDisabled *bool `json:"isSecretScanningDisabled,omitempty"`- KubernetesAutoFetchServiceAccountToken *bool `json:"kubernetesAutoFetchServiceAccountToken,omitempty"`- LatestAvailableVersion *string `json:"latestAvailableVersion,omitempty"`- OnboardingCompleted *bool `json:"onboardingCompleted,omitempty"`- PageFrameContent *string `json:"pageFrameContent,omitempty"`- ParamsFolderSecretDetectionEnabled *bool `json:"paramsFolderSecretDetectionEnabled,omitempty"`- PasswordPolicy struct {- Requirements []struct {- Code string `json:"code"`- Flags *string `json:"flags,omitempty"`- IsPrimary bool `json:"isPrimary"`- MaxConsecutiveCharacters *int `json:"maxConsecutiveCharacters,omitempty"`- Message string `json:"message"`- Patterns []string `json:"patterns"`- ShouldMatch bool `json:"shouldMatch"`- ValidationMessage string `json:"validationMessage"`- } `json:"requirements"`- } `json:"passwordPolicy"`- TrustLdapEmails *bool `json:"trustLdapEmails,omitempty"`- } `json:"config"`+ OrganizationId *string `json:"organizationId,omitempty"`+ RefreshToken *string `json:"refreshToken,omitempty"`+ SubOrganizationId *string `json:"subOrganizationId,omitempty"`+ Token string `json:"token"`}// JSON400 the response for an HTTP 400 `application/json` responseJSON400 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode UpdateAdminConfig400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RefreshAuthToken400JSONResponseBodyStatusCode `json:"statusCode"`}// JSON401 the response for an HTTP 401 `application/json` responseJSON401 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode UpdateAdminConfig401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RefreshAuthToken401JSONResponseBodyStatusCode `json:"statusCode"`}// JSON403 the response for an HTTP 403 `application/json` responseJSON403 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode UpdateAdminConfig403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RefreshAuthToken403JSONResponseBodyStatusCode `json:"statusCode"`}// JSON404 the response for an HTTP 404 `application/json` responseJSON404 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode UpdateAdminConfig404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RefreshAuthToken404JSONResponseBodyStatusCode `json:"statusCode"`}// JSON422 the response for an HTTP 422 `application/json` responseJSON422 *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode UpdateAdminConfig422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode RefreshAuthToken422JSONResponseBodyStatusCode `json:"statusCode"`}// JSON500 the response for an HTTP 500 `application/json` responseJSON500 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode UpdateAdminConfig500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RefreshAuthToken500JSONResponseBodyStatusCode `json:"statusCode"`}}// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r UpdateAdminConfigResponse) GetJSON200() *struct {- Config struct {- AdminIdentityIds *[]string `json:"adminIdentityIds,omitempty"`- AllowSignUp *bool `json:"allowSignUp,omitempty"`- AllowedSignUpDomain *string `json:"allowedSignUpDomain,omitempty"`- AuthConsentContent *string `json:"authConsentContent,omitempty"`- CreatedAt *time.Time `json:"createdAt,omitempty"`- DefaultAuthOrgAuthEnforced *bool `json:"defaultAuthOrgAuthEnforced,omitempty"`- DefaultAuthOrgAuthMethod *string `json:"defaultAuthOrgAuthMethod,omitempty"`- DefaultAuthOrgId *openapi_types.UUID `json:"defaultAuthOrgId,omitempty"`- DefaultAuthOrgSlug *string `json:"defaultAuthOrgSlug"`- EnabledLoginMethods *[]string `json:"enabledLoginMethods,omitempty"`- FipsEnabled *bool `json:"fipsEnabled,omitempty"`- Id openapi_types.UUID `json:"id"`- Initialized *bool `json:"initialized,omitempty"`- InstanceId *openapi_types.UUID `json:"instanceId,omitempty"`- IsClickhouseAuditLogEnabled *bool `json:"isClickhouseAuditLogEnabled,omitempty"`- IsMigrationModeOn *bool `json:"isMigrationModeOn,omitempty"`- IsOfflineUsageReportsEnabled *bool `json:"isOfflineUsageReportsEnabled,omitempty"`- IsPublicSecretSharingDisabled *bool `json:"isPublicSecretSharingDisabled,omitempty"`- IsSecretScanningDisabled *bool `json:"isSecretScanningDisabled,omitempty"`- KubernetesAutoFetchServiceAccountToken *bool `json:"kubernetesAutoFetchServiceAccountToken,omitempty"`- LatestAvailableVersion *string `json:"latestAvailableVersion,omitempty"`- OnboardingCompleted *bool `json:"onboardingCompleted,omitempty"`- PageFrameContent *string `json:"pageFrameContent,omitempty"`- ParamsFolderSecretDetectionEnabled *bool `json:"paramsFolderSecretDetectionEnabled,omitempty"`- PasswordPolicy struct {- Requirements []struct {- Code string `json:"code"`- Flags *string `json:"flags,omitempty"`- IsPrimary bool `json:"isPrimary"`- MaxConsecutiveCharacters *int `json:"maxConsecutiveCharacters,omitempty"`- Message string `json:"message"`- Patterns []string `json:"patterns"`- ShouldMatch bool `json:"shouldMatch"`- ValidationMessage string `json:"validationMessage"`- } `json:"requirements"`- } `json:"passwordPolicy"`- TrustLdapEmails *bool `json:"trustLdapEmails,omitempty"`- } `json:"config"`+func (r RefreshAuthTokenResponse) GetJSON200() *struct {+ OrganizationId *string `json:"organizationId,omitempty"`+ RefreshToken *string `json:"refreshToken,omitempty"`+ SubOrganizationId *string `json:"subOrganizationId,omitempty"`+ Token string `json:"token"`} {return r.JSON200}// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r UpdateAdminConfigResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode UpdateAdminConfig400JSONResponseBodyStatusCode `json:"statusCode"`+func (r RefreshAuthTokenResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RefreshAuthToken400JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON400}// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r UpdateAdminConfigResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode UpdateAdminConfig401JSONResponseBodyStatusCode `json:"statusCode"`+func (r RefreshAuthTokenResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RefreshAuthToken401JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON401}// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r UpdateAdminConfigResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode UpdateAdminConfig403JSONResponseBodyStatusCode `json:"statusCode"`+func (r RefreshAuthTokenResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RefreshAuthToken403JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON403}// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r UpdateAdminConfigResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode UpdateAdminConfig404JSONResponseBodyStatusCode `json:"statusCode"`+func (r RefreshAuthTokenResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RefreshAuthToken404JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON404}// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r UpdateAdminConfigResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode UpdateAdminConfig422JSONResponseBodyStatusCode `json:"statusCode"`+func (r RefreshAuthTokenResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode RefreshAuthToken422JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON422}// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r UpdateAdminConfigResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode UpdateAdminConfig500JSONResponseBodyStatusCode `json:"statusCode"`+func (r RefreshAuthTokenResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RefreshAuthToken500JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON500}// GetBody returns the raw response body bytes-func (r UpdateAdminConfigResponse) GetBody() []byte {+func (r RefreshAuthTokenResponse) GetBody() []byte {return r.Body}// Status returns HTTPResponse.Status-func (r UpdateAdminConfigResponse) Status() string {+func (r RefreshAuthTokenResponse) Status() string {if r.HTTPResponse != nil {return r.HTTPResponse.Status}@@ -8834,7 +10507,7 @@ func (r UpdateAdminConfigResponse) Status() string {}// StatusCode returns HTTPResponse.StatusCode-func (r UpdateAdminConfigResponse) StatusCode() int {+func (r RefreshAuthTokenResponse) StatusCode() int {if r.HTTPResponse != nil {return r.HTTPResponse.StatusCode}@@ -8842,142 +10515,174 @@ func (r UpdateAdminConfigResponse) StatusCode() int {}// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r UpdateAdminConfigResponse) ContentType() string {+func (r RefreshAuthTokenResponse) ContentType() string {if r.HTTPResponse != nil {return r.HTTPResponse.Header.Get("Content-Type")}return ""}-type CreateGitHubAppConnectionResponse struct {+type AttachUniversalAuthResponse struct {Body []byteHTTPResponse *http.Response// JSON200 the response for an HTTP 200 `application/json` responseJSON200 *struct {- AppConnection CreateGitHubAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+ IdentityUniversalAuth struct {+ AccessTokenMaxTTL *float32 `json:"accessTokenMaxTTL,omitempty"`+ AccessTokenNumUsesLimit *float32 `json:"accessTokenNumUsesLimit,omitempty"`+ AccessTokenPeriod *float32 `json:"accessTokenPeriod,omitempty"`+ AccessTokenTTL *float32 `json:"accessTokenTTL,omitempty"`+ AccessTokenTrustedIps interface{} `json:"accessTokenTrustedIps,omitempty"`+ ClientId string `json:"clientId"`+ ClientSecretTrustedIps interface{} `json:"clientSecretTrustedIps,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ IdentityId openapi_types.UUID `json:"identityId"`+ LockoutCounterResetSeconds *float32 `json:"lockoutCounterResetSeconds,omitempty"`+ LockoutDurationSeconds *float32 `json:"lockoutDurationSeconds,omitempty"`+ LockoutEnabled *bool `json:"lockoutEnabled,omitempty"`+ LockoutThreshold *float32 `json:"lockoutThreshold,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identityUniversalAuth"`}// JSON400 the response for an HTTP 400 `application/json` responseJSON400 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AttachUniversalAuth400JSONResponseBodyStatusCode `json:"statusCode"`}// JSON401 the response for an HTTP 401 `application/json` responseJSON401 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AttachUniversalAuth401JSONResponseBodyStatusCode `json:"statusCode"`}// JSON403 the response for an HTTP 403 `application/json` responseJSON403 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AttachUniversalAuth403JSONResponseBodyStatusCode `json:"statusCode"`}// JSON404 the response for an HTTP 404 `application/json` responseJSON404 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AttachUniversalAuth404JSONResponseBodyStatusCode `json:"statusCode"`}// JSON422 the response for an HTTP 422 `application/json` responseJSON422 *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode AttachUniversalAuth422JSONResponseBodyStatusCode `json:"statusCode"`}// JSON500 the response for an HTTP 500 `application/json` responseJSON500 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AttachUniversalAuth500JSONResponseBodyStatusCode `json:"statusCode"`}}// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r CreateGitHubAppConnectionResponse) GetJSON200() *struct {- AppConnection CreateGitHubAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+func (r AttachUniversalAuthResponse) GetJSON200() *struct {+ IdentityUniversalAuth struct {+ AccessTokenMaxTTL *float32 `json:"accessTokenMaxTTL,omitempty"`+ AccessTokenNumUsesLimit *float32 `json:"accessTokenNumUsesLimit,omitempty"`+ AccessTokenPeriod *float32 `json:"accessTokenPeriod,omitempty"`+ AccessTokenTTL *float32 `json:"accessTokenTTL,omitempty"`+ AccessTokenTrustedIps interface{} `json:"accessTokenTrustedIps,omitempty"`+ ClientId string `json:"clientId"`+ ClientSecretTrustedIps interface{} `json:"clientSecretTrustedIps,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ IdentityId openapi_types.UUID `json:"identityId"`+ LockoutCounterResetSeconds *float32 `json:"lockoutCounterResetSeconds,omitempty"`+ LockoutDurationSeconds *float32 `json:"lockoutDurationSeconds,omitempty"`+ LockoutEnabled *bool `json:"lockoutEnabled,omitempty"`+ LockoutThreshold *float32 `json:"lockoutThreshold,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identityUniversalAuth"`} {return r.JSON200}// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r CreateGitHubAppConnectionResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+func (r AttachUniversalAuthResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AttachUniversalAuth400JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON400}// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r CreateGitHubAppConnectionResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+func (r AttachUniversalAuthResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AttachUniversalAuth401JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON401}// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r CreateGitHubAppConnectionResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+func (r AttachUniversalAuthResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AttachUniversalAuth403JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON403}// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r CreateGitHubAppConnectionResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+func (r AttachUniversalAuthResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AttachUniversalAuth404JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON404}// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r CreateGitHubAppConnectionResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+func (r AttachUniversalAuthResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode AttachUniversalAuth422JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON422}// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r CreateGitHubAppConnectionResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+func (r AttachUniversalAuthResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AttachUniversalAuth500JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON500}// GetBody returns the raw response body bytes-func (r CreateGitHubAppConnectionResponse) GetBody() []byte {+func (r AttachUniversalAuthResponse) GetBody() []byte {return r.Body}// Status returns HTTPResponse.Status-func (r CreateGitHubAppConnectionResponse) Status() string {+func (r AttachUniversalAuthResponse) Status() string {if r.HTTPResponse != nil {return r.HTTPResponse.Status}@@ -8985,7 +10690,7 @@ func (r CreateGitHubAppConnectionResponse) Status() string {}// StatusCode returns HTTPResponse.StatusCode-func (r CreateGitHubAppConnectionResponse) StatusCode() int {+func (r AttachUniversalAuthResponse) StatusCode() int {if r.HTTPResponse != nil {return r.HTTPResponse.StatusCode}@@ -8993,142 +10698,166 @@ func (r CreateGitHubAppConnectionResponse) StatusCode() int {}// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r CreateGitHubAppConnectionResponse) ContentType() string {+func (r AttachUniversalAuthResponse) ContentType() string {if r.HTTPResponse != nil {return r.HTTPResponse.Header.Get("Content-Type")}return ""}-type DeleteGitHubAppConnectionResponse struct {+type CreateUniversalAuthClientSecretResponse struct {Body []byteHTTPResponse *http.Response// JSON200 the response for an HTTP 200 `application/json` responseJSON200 *struct {- AppConnection DeleteGitHubAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+ ClientSecret string `json:"clientSecret"`+ ClientSecretData struct {+ ClientSecretNumUses *float32 `json:"clientSecretNumUses,omitempty"`+ ClientSecretNumUsesLimit *float32 `json:"clientSecretNumUsesLimit,omitempty"`+ ClientSecretPrefix string `json:"clientSecretPrefix"`+ ClientSecretTTL *float32 `json:"clientSecretTTL,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Description string `json:"description"`+ Id string `json:"id"`+ IdentityUAId openapi_types.UUID `json:"identityUAId"`+ IsClientSecretRevoked *bool `json:"isClientSecretRevoked,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"clientSecretData"`}// JSON400 the response for an HTTP 400 `application/json` responseJSON400 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateUniversalAuthClientSecret400JSONResponseBodyStatusCode `json:"statusCode"`}// JSON401 the response for an HTTP 401 `application/json` responseJSON401 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateUniversalAuthClientSecret401JSONResponseBodyStatusCode `json:"statusCode"`}// JSON403 the response for an HTTP 403 `application/json` responseJSON403 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateUniversalAuthClientSecret403JSONResponseBodyStatusCode `json:"statusCode"`}// JSON404 the response for an HTTP 404 `application/json` responseJSON404 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateUniversalAuthClientSecret404JSONResponseBodyStatusCode `json:"statusCode"`}// JSON422 the response for an HTTP 422 `application/json` responseJSON422 *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateUniversalAuthClientSecret422JSONResponseBodyStatusCode `json:"statusCode"`}// JSON500 the response for an HTTP 500 `application/json` responseJSON500 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateUniversalAuthClientSecret500JSONResponseBodyStatusCode `json:"statusCode"`}}// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r DeleteGitHubAppConnectionResponse) GetJSON200() *struct {- AppConnection DeleteGitHubAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+func (r CreateUniversalAuthClientSecretResponse) GetJSON200() *struct {+ ClientSecret string `json:"clientSecret"`+ ClientSecretData struct {+ ClientSecretNumUses *float32 `json:"clientSecretNumUses,omitempty"`+ ClientSecretNumUsesLimit *float32 `json:"clientSecretNumUsesLimit,omitempty"`+ ClientSecretPrefix string `json:"clientSecretPrefix"`+ ClientSecretTTL *float32 `json:"clientSecretTTL,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Description string `json:"description"`+ Id string `json:"id"`+ IdentityUAId openapi_types.UUID `json:"identityUAId"`+ IsClientSecretRevoked *bool `json:"isClientSecretRevoked,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"clientSecretData"`} {return r.JSON200}// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r DeleteGitHubAppConnectionResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateUniversalAuthClientSecretResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateUniversalAuthClientSecret400JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON400}// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r DeleteGitHubAppConnectionResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateUniversalAuthClientSecretResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateUniversalAuthClientSecret401JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON401}// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r DeleteGitHubAppConnectionResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateUniversalAuthClientSecretResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateUniversalAuthClientSecret403JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON403}// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r DeleteGitHubAppConnectionResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateUniversalAuthClientSecretResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateUniversalAuthClientSecret404JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON404}// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r DeleteGitHubAppConnectionResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateUniversalAuthClientSecretResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateUniversalAuthClientSecret422JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON422}// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r DeleteGitHubAppConnectionResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateUniversalAuthClientSecretResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateUniversalAuthClientSecret500JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON500}// GetBody returns the raw response body bytes-func (r DeleteGitHubAppConnectionResponse) GetBody() []byte {+func (r CreateUniversalAuthClientSecretResponse) GetBody() []byte {return r.Body}// Status returns HTTPResponse.Status-func (r DeleteGitHubAppConnectionResponse) Status() string {+func (r CreateUniversalAuthClientSecretResponse) Status() string {if r.HTTPResponse != nil {return r.HTTPResponse.Status}@@ -9136,7 +10865,7 @@ func (r DeleteGitHubAppConnectionResponse) Status() string {}// StatusCode returns HTTPResponse.StatusCode-func (r DeleteGitHubAppConnectionResponse) StatusCode() int {+func (r CreateUniversalAuthClientSecretResponse) StatusCode() int {if r.HTTPResponse != nil {return r.HTTPResponse.StatusCode}@@ -9144,148 +10873,148 @@ func (r DeleteGitHubAppConnectionResponse) StatusCode() int {}// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r DeleteGitHubAppConnectionResponse) ContentType() string {+func (r CreateUniversalAuthClientSecretResponse) ContentType() string {if r.HTTPResponse != nil {return r.HTTPResponse.Header.Get("Content-Type")}return ""}-type RefreshAuthTokenResponse struct {+type LoginWithUniversalAuthResponse struct {Body []byteHTTPResponse *http.Response// JSON200 the response for an HTTP 200 `application/json` responseJSON200 *struct {- OrganizationId *string `json:"organizationId,omitempty"`- RefreshToken *string `json:"refreshToken,omitempty"`- SubOrganizationId *string `json:"subOrganizationId,omitempty"`- Token string `json:"token"`+ AccessToken string `json:"accessToken"`+ AccessTokenMaxTTL float32 `json:"accessTokenMaxTTL"`+ ExpiresIn float32 `json:"expiresIn"`+ TokenType LoginWithUniversalAuth200JSONResponseBodyTokenType `json:"tokenType"`}// JSON400 the response for an HTTP 400 `application/json` responseJSON400 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode RefreshAuthToken400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginWithUniversalAuth400JSONResponseBodyStatusCode `json:"statusCode"`}// JSON401 the response for an HTTP 401 `application/json` responseJSON401 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode RefreshAuthToken401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginWithUniversalAuth401JSONResponseBodyStatusCode `json:"statusCode"`}// JSON403 the response for an HTTP 403 `application/json` responseJSON403 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode RefreshAuthToken403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginWithUniversalAuth403JSONResponseBodyStatusCode `json:"statusCode"`}// JSON404 the response for an HTTP 404 `application/json` responseJSON404 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode RefreshAuthToken404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginWithUniversalAuth404JSONResponseBodyStatusCode `json:"statusCode"`}// JSON422 the response for an HTTP 422 `application/json` responseJSON422 *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode RefreshAuthToken422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode LoginWithUniversalAuth422JSONResponseBodyStatusCode `json:"statusCode"`}// JSON500 the response for an HTTP 500 `application/json` responseJSON500 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode RefreshAuthToken500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginWithUniversalAuth500JSONResponseBodyStatusCode `json:"statusCode"`}}// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r RefreshAuthTokenResponse) GetJSON200() *struct {- OrganizationId *string `json:"organizationId,omitempty"`- RefreshToken *string `json:"refreshToken,omitempty"`- SubOrganizationId *string `json:"subOrganizationId,omitempty"`- Token string `json:"token"`+func (r LoginWithUniversalAuthResponse) GetJSON200() *struct {+ AccessToken string `json:"accessToken"`+ AccessTokenMaxTTL float32 `json:"accessTokenMaxTTL"`+ ExpiresIn float32 `json:"expiresIn"`+ TokenType LoginWithUniversalAuth200JSONResponseBodyTokenType `json:"tokenType"`} {return r.JSON200}// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r RefreshAuthTokenResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode RefreshAuthToken400JSONResponseBodyStatusCode `json:"statusCode"`+func (r LoginWithUniversalAuthResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginWithUniversalAuth400JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON400}// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r RefreshAuthTokenResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode RefreshAuthToken401JSONResponseBodyStatusCode `json:"statusCode"`+func (r LoginWithUniversalAuthResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginWithUniversalAuth401JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON401}// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r RefreshAuthTokenResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode RefreshAuthToken403JSONResponseBodyStatusCode `json:"statusCode"`+func (r LoginWithUniversalAuthResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginWithUniversalAuth403JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON403}// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r RefreshAuthTokenResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode RefreshAuthToken404JSONResponseBodyStatusCode `json:"statusCode"`+func (r LoginWithUniversalAuthResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginWithUniversalAuth404JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON404}// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r RefreshAuthTokenResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode RefreshAuthToken422JSONResponseBodyStatusCode `json:"statusCode"`+func (r LoginWithUniversalAuthResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode LoginWithUniversalAuth422JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON422}// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r RefreshAuthTokenResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode RefreshAuthToken500JSONResponseBodyStatusCode `json:"statusCode"`+func (r LoginWithUniversalAuthResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginWithUniversalAuth500JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON500}// GetBody returns the raw response body bytes-func (r RefreshAuthTokenResponse) GetBody() []byte {+func (r LoginWithUniversalAuthResponse) GetBody() []byte {return r.Body}// Status returns HTTPResponse.Status-func (r RefreshAuthTokenResponse) Status() string {+func (r LoginWithUniversalAuthResponse) Status() string {if r.HTTPResponse != nil {return r.HTTPResponse.Status}@@ -9293,7 +11022,7 @@ func (r RefreshAuthTokenResponse) Status() string {}// StatusCode returns HTTPResponse.StatusCode-func (r RefreshAuthTokenResponse) StatusCode() int {+func (r LoginWithUniversalAuthResponse) StatusCode() int {if r.HTTPResponse != nil {return r.HTTPResponse.StatusCode}@@ -9301,174 +11030,172 @@ func (r RefreshAuthTokenResponse) StatusCode() int {}// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r RefreshAuthTokenResponse) ContentType() string {+func (r LoginWithUniversalAuthResponse) ContentType() string {if r.HTTPResponse != nil {return r.HTTPResponse.Header.Get("Content-Type")}return ""}-type AttachUniversalAuthResponse struct {+type CreateMachineIdentityResponse struct {Body []byteHTTPResponse *http.Response// JSON200 the response for an HTTP 200 `application/json` responseJSON200 *struct {- IdentityUniversalAuth struct {- AccessTokenMaxTTL *float32 `json:"accessTokenMaxTTL,omitempty"`- AccessTokenNumUsesLimit *float32 `json:"accessTokenNumUsesLimit,omitempty"`- AccessTokenPeriod *float32 `json:"accessTokenPeriod,omitempty"`- AccessTokenTTL *float32 `json:"accessTokenTTL,omitempty"`- AccessTokenTrustedIps interface{} `json:"accessTokenTrustedIps,omitempty"`- ClientId string `json:"clientId"`- ClientSecretTrustedIps interface{} `json:"clientSecretTrustedIps,omitempty"`- CreatedAt time.Time `json:"createdAt"`- Id openapi_types.UUID `json:"id"`- IdentityId openapi_types.UUID `json:"identityId"`- LockoutCounterResetSeconds *float32 `json:"lockoutCounterResetSeconds,omitempty"`- LockoutDurationSeconds *float32 `json:"lockoutDurationSeconds,omitempty"`- LockoutEnabled *bool `json:"lockoutEnabled,omitempty"`- LockoutThreshold *float32 `json:"lockoutThreshold,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identityUniversalAuth"`+ Identity struct {+ AuthMethod *string `json:"authMethod,omitempty"`+ AuthMethods []string `json:"authMethods"`+ CreatedAt time.Time `json:"createdAt"`+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Metadata []struct {+ Id string `json:"id"`+ Key string `json:"key"`+ Value string `json:"value"`+ } `json:"metadata"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ ProjectId *string `json:"projectId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identity"`}// JSON400 the response for an HTTP 400 `application/json` responseJSON400 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AttachUniversalAuth400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateMachineIdentity400JSONResponseBodyStatusCode `json:"statusCode"`}// JSON401 the response for an HTTP 401 `application/json` responseJSON401 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AttachUniversalAuth401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateMachineIdentity401JSONResponseBodyStatusCode `json:"statusCode"`}// JSON403 the response for an HTTP 403 `application/json` responseJSON403 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AttachUniversalAuth403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateMachineIdentity403JSONResponseBodyStatusCode `json:"statusCode"`}// JSON404 the response for an HTTP 404 `application/json` responseJSON404 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AttachUniversalAuth404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateMachineIdentity404JSONResponseBodyStatusCode `json:"statusCode"`}// JSON422 the response for an HTTP 422 `application/json` responseJSON422 *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode AttachUniversalAuth422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateMachineIdentity422JSONResponseBodyStatusCode `json:"statusCode"`}// JSON500 the response for an HTTP 500 `application/json` responseJSON500 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AttachUniversalAuth500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateMachineIdentity500JSONResponseBodyStatusCode `json:"statusCode"`}}// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r AttachUniversalAuthResponse) GetJSON200() *struct {- IdentityUniversalAuth struct {- AccessTokenMaxTTL *float32 `json:"accessTokenMaxTTL,omitempty"`- AccessTokenNumUsesLimit *float32 `json:"accessTokenNumUsesLimit,omitempty"`- AccessTokenPeriod *float32 `json:"accessTokenPeriod,omitempty"`- AccessTokenTTL *float32 `json:"accessTokenTTL,omitempty"`- AccessTokenTrustedIps interface{} `json:"accessTokenTrustedIps,omitempty"`- ClientId string `json:"clientId"`- ClientSecretTrustedIps interface{} `json:"clientSecretTrustedIps,omitempty"`- CreatedAt time.Time `json:"createdAt"`- Id openapi_types.UUID `json:"id"`- IdentityId openapi_types.UUID `json:"identityId"`- LockoutCounterResetSeconds *float32 `json:"lockoutCounterResetSeconds,omitempty"`- LockoutDurationSeconds *float32 `json:"lockoutDurationSeconds,omitempty"`- LockoutEnabled *bool `json:"lockoutEnabled,omitempty"`- LockoutThreshold *float32 `json:"lockoutThreshold,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identityUniversalAuth"`+func (r CreateMachineIdentityResponse) GetJSON200() *struct {+ Identity struct {+ AuthMethod *string `json:"authMethod,omitempty"`+ AuthMethods []string `json:"authMethods"`+ CreatedAt time.Time `json:"createdAt"`+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Metadata []struct {+ Id string `json:"id"`+ Key string `json:"key"`+ Value string `json:"value"`+ } `json:"metadata"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ ProjectId *string `json:"projectId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identity"`} {return r.JSON200}// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r AttachUniversalAuthResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AttachUniversalAuth400JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateMachineIdentityResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateMachineIdentity400JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON400}// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r AttachUniversalAuthResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AttachUniversalAuth401JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateMachineIdentityResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateMachineIdentity401JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON401}// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r AttachUniversalAuthResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AttachUniversalAuth403JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateMachineIdentityResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateMachineIdentity403JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON403}// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r AttachUniversalAuthResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AttachUniversalAuth404JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateMachineIdentityResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateMachineIdentity404JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON404}// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r AttachUniversalAuthResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode AttachUniversalAuth422JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateMachineIdentityResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateMachineIdentity422JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON422}// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r AttachUniversalAuthResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AttachUniversalAuth500JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateMachineIdentityResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateMachineIdentity500JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON500}// GetBody returns the raw response body bytes-func (r AttachUniversalAuthResponse) GetBody() []byte {+func (r CreateMachineIdentityResponse) GetBody() []byte {return r.Body}// Status returns HTTPResponse.Status-func (r AttachUniversalAuthResponse) Status() string {+func (r CreateMachineIdentityResponse) Status() string {if r.HTTPResponse != nil {return r.HTTPResponse.Status}@@ -9476,7 +11203,7 @@ func (r AttachUniversalAuthResponse) Status() string {}// StatusCode returns HTTPResponse.StatusCode-func (r AttachUniversalAuthResponse) StatusCode() int {+func (r CreateMachineIdentityResponse) StatusCode() int {if r.HTTPResponse != nil {return r.HTTPResponse.StatusCode}@@ -9484,166 +11211,160 @@ func (r AttachUniversalAuthResponse) StatusCode() int {}// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r AttachUniversalAuthResponse) ContentType() string {+func (r CreateMachineIdentityResponse) ContentType() string {if r.HTTPResponse != nil {return r.HTTPResponse.Header.Get("Content-Type")}return ""}-type CreateUniversalAuthClientSecretResponse struct {+type InviteUsersToOrganizationResponse struct {Body []byteHTTPResponse *http.Response// JSON200 the response for an HTTP 200 `application/json` responseJSON200 *struct {- ClientSecret string `json:"clientSecret"`- ClientSecretData struct {- ClientSecretNumUses *float32 `json:"clientSecretNumUses,omitempty"`- ClientSecretNumUsesLimit *float32 `json:"clientSecretNumUsesLimit,omitempty"`- ClientSecretPrefix string `json:"clientSecretPrefix"`- ClientSecretTTL *float32 `json:"clientSecretTTL,omitempty"`- CreatedAt time.Time `json:"createdAt"`- Description string `json:"description"`- Id string `json:"id"`- IdentityUAId openapi_types.UUID `json:"identityUAId"`- IsClientSecretRevoked *bool `json:"isClientSecretRevoked,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"clientSecretData"`+ CompleteInviteLinks *[]struct {+ Email string `json:"email"`+ Link string `json:"link"`+ } `json:"completeInviteLinks,omitempty"`+ GrantFailures *struct {+ AgentVaultAccess bool `json:"agentVaultAccess"`+ PamAccess bool `json:"pamAccess"`+ ProjectIds []string `json:"projectIds"`+ } `json:"grantFailures,omitempty"`+ Message string `json:"message"`}// JSON400 the response for an HTTP 400 `application/json` responseJSON400 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateUniversalAuthClientSecret400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteUsersToOrganization400JSONResponseBodyStatusCode `json:"statusCode"`}// JSON401 the response for an HTTP 401 `application/json` responseJSON401 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateUniversalAuthClientSecret401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteUsersToOrganization401JSONResponseBodyStatusCode `json:"statusCode"`}// JSON403 the response for an HTTP 403 `application/json` responseJSON403 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateUniversalAuthClientSecret403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteUsersToOrganization403JSONResponseBodyStatusCode `json:"statusCode"`}// JSON404 the response for an HTTP 404 `application/json` responseJSON404 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateUniversalAuthClientSecret404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteUsersToOrganization404JSONResponseBodyStatusCode `json:"statusCode"`}// JSON422 the response for an HTTP 422 `application/json` responseJSON422 *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateUniversalAuthClientSecret422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode InviteUsersToOrganization422JSONResponseBodyStatusCode `json:"statusCode"`}// JSON500 the response for an HTTP 500 `application/json` responseJSON500 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateUniversalAuthClientSecret500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteUsersToOrganization500JSONResponseBodyStatusCode `json:"statusCode"`}}// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r CreateUniversalAuthClientSecretResponse) GetJSON200() *struct {- ClientSecret string `json:"clientSecret"`- ClientSecretData struct {- ClientSecretNumUses *float32 `json:"clientSecretNumUses,omitempty"`- ClientSecretNumUsesLimit *float32 `json:"clientSecretNumUsesLimit,omitempty"`- ClientSecretPrefix string `json:"clientSecretPrefix"`- ClientSecretTTL *float32 `json:"clientSecretTTL,omitempty"`- CreatedAt time.Time `json:"createdAt"`- Description string `json:"description"`- Id string `json:"id"`- IdentityUAId openapi_types.UUID `json:"identityUAId"`- IsClientSecretRevoked *bool `json:"isClientSecretRevoked,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"clientSecretData"`+func (r InviteUsersToOrganizationResponse) GetJSON200() *struct {+ CompleteInviteLinks *[]struct {+ Email string `json:"email"`+ Link string `json:"link"`+ } `json:"completeInviteLinks,omitempty"`+ GrantFailures *struct {+ AgentVaultAccess bool `json:"agentVaultAccess"`+ PamAccess bool `json:"pamAccess"`+ ProjectIds []string `json:"projectIds"`+ } `json:"grantFailures,omitempty"`+ Message string `json:"message"`} {return r.JSON200}// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r CreateUniversalAuthClientSecretResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateUniversalAuthClientSecret400JSONResponseBodyStatusCode `json:"statusCode"`+func (r InviteUsersToOrganizationResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteUsersToOrganization400JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON400}// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r CreateUniversalAuthClientSecretResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateUniversalAuthClientSecret401JSONResponseBodyStatusCode `json:"statusCode"`+func (r InviteUsersToOrganizationResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteUsersToOrganization401JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON401}// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r CreateUniversalAuthClientSecretResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateUniversalAuthClientSecret403JSONResponseBodyStatusCode `json:"statusCode"`+func (r InviteUsersToOrganizationResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteUsersToOrganization403JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON403}// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r CreateUniversalAuthClientSecretResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateUniversalAuthClientSecret404JSONResponseBodyStatusCode `json:"statusCode"`+func (r InviteUsersToOrganizationResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteUsersToOrganization404JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON404}// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r CreateUniversalAuthClientSecretResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateUniversalAuthClientSecret422JSONResponseBodyStatusCode `json:"statusCode"`+func (r InviteUsersToOrganizationResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode InviteUsersToOrganization422JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON422}// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r CreateUniversalAuthClientSecretResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateUniversalAuthClientSecret500JSONResponseBodyStatusCode `json:"statusCode"`+func (r InviteUsersToOrganizationResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteUsersToOrganization500JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON500}// GetBody returns the raw response body bytes-func (r CreateUniversalAuthClientSecretResponse) GetBody() []byte {+func (r InviteUsersToOrganizationResponse) GetBody() []byte {return r.Body}// Status returns HTTPResponse.Status-func (r CreateUniversalAuthClientSecretResponse) Status() string {+func (r InviteUsersToOrganizationResponse) Status() string {if r.HTTPResponse != nil {return r.HTTPResponse.Status}@@ -9651,7 +11372,7 @@ func (r CreateUniversalAuthClientSecretResponse) Status() string {}// StatusCode returns HTTPResponse.StatusCode-func (r CreateUniversalAuthClientSecretResponse) StatusCode() int {+func (r InviteUsersToOrganizationResponse) StatusCode() int {if r.HTTPResponse != nil {return r.HTTPResponse.StatusCode}@@ -9659,148 +11380,150 @@ func (r CreateUniversalAuthClientSecretResponse) StatusCode() int {}// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r CreateUniversalAuthClientSecretResponse) ContentType() string {+func (r InviteUsersToOrganizationResponse) ContentType() string {if r.HTTPResponse != nil {return r.HTTPResponse.Header.Get("Content-Type")}return ""}-type LoginWithUniversalAuthResponse struct {+type VerifyUserToOrganizationResponse struct {Body []byteHTTPResponse *http.Response// JSON200 the response for an HTTP 200 `application/json` responseJSON200 *struct {- AccessToken string `json:"accessToken"`- AccessTokenMaxTTL float32 `json:"accessTokenMaxTTL"`- ExpiresIn float32 `json:"expiresIn"`- TokenType LoginWithUniversalAuth200JSONResponseBodyTokenType `json:"tokenType"`+ Message string `json:"message"`++ // OrganizationName Name of the organization associated with the verified invitation+ OrganizationName string `json:"organizationName"`+ Token *string `json:"token,omitempty"`}// JSON400 the response for an HTTP 400 `application/json` responseJSON400 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginWithUniversalAuth400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyUserToOrganization400JSONResponseBodyStatusCode `json:"statusCode"`}// JSON401 the response for an HTTP 401 `application/json` responseJSON401 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginWithUniversalAuth401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyUserToOrganization401JSONResponseBodyStatusCode `json:"statusCode"`}// JSON403 the response for an HTTP 403 `application/json` responseJSON403 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginWithUniversalAuth403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyUserToOrganization403JSONResponseBodyStatusCode `json:"statusCode"`}// JSON404 the response for an HTTP 404 `application/json` responseJSON404 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginWithUniversalAuth404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyUserToOrganization404JSONResponseBodyStatusCode `json:"statusCode"`}// JSON422 the response for an HTTP 422 `application/json` responseJSON422 *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode LoginWithUniversalAuth422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode VerifyUserToOrganization422JSONResponseBodyStatusCode `json:"statusCode"`}// JSON500 the response for an HTTP 500 `application/json` responseJSON500 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginWithUniversalAuth500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyUserToOrganization500JSONResponseBodyStatusCode `json:"statusCode"`}}// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r LoginWithUniversalAuthResponse) GetJSON200() *struct {- AccessToken string `json:"accessToken"`- AccessTokenMaxTTL float32 `json:"accessTokenMaxTTL"`- ExpiresIn float32 `json:"expiresIn"`- TokenType LoginWithUniversalAuth200JSONResponseBodyTokenType `json:"tokenType"`+func (r VerifyUserToOrganizationResponse) GetJSON200() *struct {+ Message string `json:"message"`++ // OrganizationName Name of the organization associated with the verified invitation+ OrganizationName string `json:"organizationName"`+ Token *string `json:"token,omitempty"`} {return r.JSON200}// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r LoginWithUniversalAuthResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginWithUniversalAuth400JSONResponseBodyStatusCode `json:"statusCode"`+func (r VerifyUserToOrganizationResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyUserToOrganization400JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON400}// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r LoginWithUniversalAuthResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginWithUniversalAuth401JSONResponseBodyStatusCode `json:"statusCode"`+func (r VerifyUserToOrganizationResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyUserToOrganization401JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON401}// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r LoginWithUniversalAuthResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginWithUniversalAuth403JSONResponseBodyStatusCode `json:"statusCode"`+func (r VerifyUserToOrganizationResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyUserToOrganization403JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON403}// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r LoginWithUniversalAuthResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginWithUniversalAuth404JSONResponseBodyStatusCode `json:"statusCode"`+func (r VerifyUserToOrganizationResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyUserToOrganization404JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON404}// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r LoginWithUniversalAuthResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode LoginWithUniversalAuth422JSONResponseBodyStatusCode `json:"statusCode"`+func (r VerifyUserToOrganizationResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode VerifyUserToOrganization422JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON422}// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r LoginWithUniversalAuthResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginWithUniversalAuth500JSONResponseBodyStatusCode `json:"statusCode"`+func (r VerifyUserToOrganizationResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyUserToOrganization500JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON500}// GetBody returns the raw response body bytes-func (r LoginWithUniversalAuthResponse) GetBody() []byte {+func (r VerifyUserToOrganizationResponse) GetBody() []byte {return r.Body}// Status returns HTTPResponse.Status-func (r LoginWithUniversalAuthResponse) Status() string {+func (r VerifyUserToOrganizationResponse) Status() string {if r.HTTPResponse != nil {return r.HTTPResponse.Status}@@ -9808,180 +11531,150 @@ func (r LoginWithUniversalAuthResponse) Status() string {}// StatusCode returns HTTPResponse.StatusCode-func (r LoginWithUniversalAuthResponse) StatusCode() int {+func (r VerifyUserToOrganizationResponse) StatusCode() int {if r.HTTPResponse != nil {return r.HTTPResponse.StatusCode}return 0}--// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r LoginWithUniversalAuthResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")- }- return ""-}--type CreateMachineIdentityResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- Identity struct {- AuthMethod *string `json:"authMethod,omitempty"`- AuthMethods []string `json:"authMethods"`- CreatedAt time.Time `json:"createdAt"`- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- Id openapi_types.UUID `json:"id"`- Metadata []struct {- Id string `json:"id"`- Key string `json:"key"`- Value string `json:"value"`- } `json:"metadata"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- ProjectId *string `json:"projectId,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identity"`++// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers+func (r VerifyUserToOrganizationResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type GetOrganizationPlanResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Plan interface{} `json:"plan,omitempty"`}// JSON400 the response for an HTTP 400 `application/json` responseJSON400 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateMachineIdentity400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetOrganizationPlan400JSONResponseBodyStatusCode `json:"statusCode"`}// JSON401 the response for an HTTP 401 `application/json` responseJSON401 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateMachineIdentity401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetOrganizationPlan401JSONResponseBodyStatusCode `json:"statusCode"`}// JSON403 the response for an HTTP 403 `application/json` responseJSON403 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateMachineIdentity403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetOrganizationPlan403JSONResponseBodyStatusCode `json:"statusCode"`}// JSON404 the response for an HTTP 404 `application/json` responseJSON404 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateMachineIdentity404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetOrganizationPlan404JSONResponseBodyStatusCode `json:"statusCode"`}// JSON422 the response for an HTTP 422 `application/json` responseJSON422 *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateMachineIdentity422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetOrganizationPlan422JSONResponseBodyStatusCode `json:"statusCode"`}// JSON500 the response for an HTTP 500 `application/json` responseJSON500 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateMachineIdentity500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetOrganizationPlan500JSONResponseBodyStatusCode `json:"statusCode"`}}// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r CreateMachineIdentityResponse) GetJSON200() *struct {- Identity struct {- AuthMethod *string `json:"authMethod,omitempty"`- AuthMethods []string `json:"authMethods"`- CreatedAt time.Time `json:"createdAt"`- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- Id openapi_types.UUID `json:"id"`- Metadata []struct {- Id string `json:"id"`- Key string `json:"key"`- Value string `json:"value"`- } `json:"metadata"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- ProjectId *string `json:"projectId,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identity"`+func (r GetOrganizationPlanResponse) GetJSON200() *struct {+ Plan interface{} `json:"plan,omitempty"`} {return r.JSON200}// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r CreateMachineIdentityResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateMachineIdentity400JSONResponseBodyStatusCode `json:"statusCode"`+func (r GetOrganizationPlanResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetOrganizationPlan400JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON400}// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r CreateMachineIdentityResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateMachineIdentity401JSONResponseBodyStatusCode `json:"statusCode"`+func (r GetOrganizationPlanResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetOrganizationPlan401JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON401}// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r CreateMachineIdentityResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateMachineIdentity403JSONResponseBodyStatusCode `json:"statusCode"`+func (r GetOrganizationPlanResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetOrganizationPlan403JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON403}// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r CreateMachineIdentityResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateMachineIdentity404JSONResponseBodyStatusCode `json:"statusCode"`+func (r GetOrganizationPlanResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetOrganizationPlan404JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON404}// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r CreateMachineIdentityResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateMachineIdentity422JSONResponseBodyStatusCode `json:"statusCode"`+func (r GetOrganizationPlanResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetOrganizationPlan422JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON422}// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r CreateMachineIdentityResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateMachineIdentity500JSONResponseBodyStatusCode `json:"statusCode"`+func (r GetOrganizationPlanResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetOrganizationPlan500JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON500}// GetBody returns the raw response body bytes-func (r CreateMachineIdentityResponse) GetBody() []byte {+func (r GetOrganizationPlanResponse) GetBody() []byte {return r.Body}// Status returns HTTPResponse.Status-func (r CreateMachineIdentityResponse) Status() string {+func (r GetOrganizationPlanResponse) Status() string {if r.HTTPResponse != nil {return r.HTTPResponse.Status}@@ -9989,7 +11682,7 @@ func (r CreateMachineIdentityResponse) Status() string {}// StatusCode returns HTTPResponse.StatusCode-func (r CreateMachineIdentityResponse) StatusCode() int {+func (r GetOrganizationPlanResponse) StatusCode() int {if r.HTTPResponse != nil {return r.HTTPResponse.StatusCode}@@ -9997,160 +11690,214 @@ func (r CreateMachineIdentityResponse) StatusCode() int {}// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r CreateMachineIdentityResponse) ContentType() string {+func (r GetOrganizationPlanResponse) ContentType() string {if r.HTTPResponse != nil {return r.HTTPResponse.Header.Get("Content-Type")}return ""}-type InviteUsersToOrganizationResponse struct {+type CreateProjectResponse struct {Body []byteHTTPResponse *http.Response// JSON200 the response for an HTTP 200 `application/json` responseJSON200 *struct {- CompleteInviteLinks *[]struct {- Email string `json:"email"`- Link string `json:"link"`- } `json:"completeInviteLinks,omitempty"`- GrantFailures *struct {- AgentVaultAccess bool `json:"agentVaultAccess"`- PamAccess bool `json:"pamAccess"`- ProjectIds []string `json:"projectIds"`- } `json:"grantFailures,omitempty"`- Message string `json:"message"`+ Project struct {+ UnderscoreId string `json:"_id"`+ AuditLogsRetentionDays *float32 `json:"auditLogsRetentionDays,omitempty"`+ AutoCapitalization *bool `json:"autoCapitalization,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ DefaultProduct *string `json:"defaultProduct,omitempty"`+ DeletedEnvironments []struct {+ DeleteAfter time.Time `json:"deleteAfter"`+ DeletedBy *CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy `json:"deletedBy"`+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ SoftDeletedAt time.Time `json:"softDeletedAt"`+ } `json:"deletedEnvironments"`+ Description *string `json:"description,omitempty"`+ EnforceEncryptedSecretManagerSecretMetadata *bool `json:"enforceEncryptedSecretManagerSecretMetadata,omitempty"`+ Environments []struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environments"`+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ Id string `json:"id"`+ IsLegacyAdditionalPrivilegesEnabled *bool `json:"isLegacyAdditionalPrivilegesEnabled,omitempty"`+ KmsCertificateKeyId *openapi_types.UUID `json:"kmsCertificateKeyId,omitempty"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ PitVersionLimit *float32 `json:"pitVersionLimit,omitempty"`+ SecretDetectionIgnoreValues *[]string `json:"secretDetectionIgnoreValues,omitempty"`+ SecretSharing *bool `json:"secretSharing,omitempty"`+ ShowSnapshotsLegacy *bool `json:"showSnapshotsLegacy,omitempty"`+ Slug string `json:"slug"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ UpgradeStatus *string `json:"upgradeStatus,omitempty"`+ Version *float32 `json:"version,omitempty"`+ } `json:"project"`}// JSON400 the response for an HTTP 400 `application/json` responseJSON400 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteUsersToOrganization400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProject400JSONResponseBodyStatusCode `json:"statusCode"`}// JSON401 the response for an HTTP 401 `application/json` responseJSON401 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteUsersToOrganization401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProject401JSONResponseBodyStatusCode `json:"statusCode"`}// JSON403 the response for an HTTP 403 `application/json` responseJSON403 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteUsersToOrganization403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProject403JSONResponseBodyStatusCode `json:"statusCode"`}// JSON404 the response for an HTTP 404 `application/json` responseJSON404 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteUsersToOrganization404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProject404JSONResponseBodyStatusCode `json:"statusCode"`}// JSON422 the response for an HTTP 422 `application/json` responseJSON422 *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode InviteUsersToOrganization422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateProject422JSONResponseBodyStatusCode `json:"statusCode"`}// JSON500 the response for an HTTP 500 `application/json` response- JSON500 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteUsersToOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+ JSON500 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProject500JSONResponseBodyStatusCode `json:"statusCode"`}}// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r InviteUsersToOrganizationResponse) GetJSON200() *struct {- CompleteInviteLinks *[]struct {- Email string `json:"email"`- Link string `json:"link"`- } `json:"completeInviteLinks,omitempty"`- GrantFailures *struct {- AgentVaultAccess bool `json:"agentVaultAccess"`- PamAccess bool `json:"pamAccess"`- ProjectIds []string `json:"projectIds"`- } `json:"grantFailures,omitempty"`- Message string `json:"message"`+func (r CreateProjectResponse) GetJSON200() *struct {+ Project struct {+ UnderscoreId string `json:"_id"`+ AuditLogsRetentionDays *float32 `json:"auditLogsRetentionDays,omitempty"`+ AutoCapitalization *bool `json:"autoCapitalization,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ DefaultProduct *string `json:"defaultProduct,omitempty"`+ DeletedEnvironments []struct {+ DeleteAfter time.Time `json:"deleteAfter"`+ DeletedBy *CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy `json:"deletedBy"`+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ SoftDeletedAt time.Time `json:"softDeletedAt"`+ } `json:"deletedEnvironments"`+ Description *string `json:"description,omitempty"`+ EnforceEncryptedSecretManagerSecretMetadata *bool `json:"enforceEncryptedSecretManagerSecretMetadata,omitempty"`+ Environments []struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environments"`+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ Id string `json:"id"`+ IsLegacyAdditionalPrivilegesEnabled *bool `json:"isLegacyAdditionalPrivilegesEnabled,omitempty"`+ KmsCertificateKeyId *openapi_types.UUID `json:"kmsCertificateKeyId,omitempty"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ PitVersionLimit *float32 `json:"pitVersionLimit,omitempty"`+ SecretDetectionIgnoreValues *[]string `json:"secretDetectionIgnoreValues,omitempty"`+ SecretSharing *bool `json:"secretSharing,omitempty"`+ ShowSnapshotsLegacy *bool `json:"showSnapshotsLegacy,omitempty"`+ Slug string `json:"slug"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ UpgradeStatus *string `json:"upgradeStatus,omitempty"`+ Version *float32 `json:"version,omitempty"`+ } `json:"project"`} {return r.JSON200}// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r InviteUsersToOrganizationResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteUsersToOrganization400JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateProjectResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProject400JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON400}// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r InviteUsersToOrganizationResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteUsersToOrganization401JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateProjectResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProject401JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON401}// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r InviteUsersToOrganizationResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteUsersToOrganization403JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateProjectResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProject403JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON403}// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r InviteUsersToOrganizationResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteUsersToOrganization404JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateProjectResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProject404JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON404}// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r InviteUsersToOrganizationResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode InviteUsersToOrganization422JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateProjectResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateProject422JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON422}// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r InviteUsersToOrganizationResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteUsersToOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateProjectResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProject500JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON500}// GetBody returns the raw response body bytes-func (r InviteUsersToOrganizationResponse) GetBody() []byte {+func (r CreateProjectResponse) GetBody() []byte {return r.Body}// Status returns HTTPResponse.Status-func (r InviteUsersToOrganizationResponse) Status() string {+func (r CreateProjectResponse) Status() string {if r.HTTPResponse != nil {return r.HTTPResponse.Status}@@ -10158,7 +11905,7 @@ func (r InviteUsersToOrganizationResponse) Status() string {}// StatusCode returns HTTPResponse.StatusCode-func (r InviteUsersToOrganizationResponse) StatusCode() int {+func (r CreateProjectResponse) StatusCode() int {if r.HTTPResponse != nil {return r.HTTPResponse.StatusCode}@@ -10166,150 +11913,174 @@ func (r InviteUsersToOrganizationResponse) StatusCode() int {}// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r InviteUsersToOrganizationResponse) ContentType() string {+func (r CreateProjectResponse) ContentType() string {if r.HTTPResponse != nil {return r.HTTPResponse.Header.Get("Content-Type")}return ""}-type VerifyUserToOrganizationResponse struct {+type ListProjectMachineIdentitiesResponse struct {Body []byteHTTPResponse *http.Response// JSON200 the response for an HTTP 200 `application/json` responseJSON200 *struct {- Message string `json:"message"`-- // OrganizationName Name of the organization associated with the verified invitation- OrganizationName string `json:"organizationName"`- Token *string `json:"token,omitempty"`+ Identities []struct {+ ActiveLockoutAuthMethods *[]string `json:"activeLockoutAuthMethods,omitempty"`+ AuthMethods *[]string `json:"authMethods,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Metadata *[]struct {+ Id string `json:"id"`+ Key string `json:"key"`+ Value string `json:"value"`+ } `json:"metadata,omitempty"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ ProjectId *string `json:"projectId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identities"`+ TotalCount float32 `json:"totalCount"`}// JSON400 the response for an HTTP 400 `application/json` responseJSON400 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyUserToOrganization400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListProjectMachineIdentities400JSONResponseBodyStatusCode `json:"statusCode"`}// JSON401 the response for an HTTP 401 `application/json` responseJSON401 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyUserToOrganization401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListProjectMachineIdentities401JSONResponseBodyStatusCode `json:"statusCode"`}// JSON403 the response for an HTTP 403 `application/json` responseJSON403 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyUserToOrganization403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListProjectMachineIdentities403JSONResponseBodyStatusCode `json:"statusCode"`}// JSON404 the response for an HTTP 404 `application/json` responseJSON404 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyUserToOrganization404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListProjectMachineIdentities404JSONResponseBodyStatusCode `json:"statusCode"`}// JSON422 the response for an HTTP 422 `application/json` responseJSON422 *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode VerifyUserToOrganization422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode ListProjectMachineIdentities422JSONResponseBodyStatusCode `json:"statusCode"`}// JSON500 the response for an HTTP 500 `application/json` responseJSON500 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyUserToOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListProjectMachineIdentities500JSONResponseBodyStatusCode `json:"statusCode"`}}// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r VerifyUserToOrganizationResponse) GetJSON200() *struct {- Message string `json:"message"`-- // OrganizationName Name of the organization associated with the verified invitation- OrganizationName string `json:"organizationName"`- Token *string `json:"token,omitempty"`+func (r ListProjectMachineIdentitiesResponse) GetJSON200() *struct {+ Identities []struct {+ ActiveLockoutAuthMethods *[]string `json:"activeLockoutAuthMethods,omitempty"`+ AuthMethods *[]string `json:"authMethods,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Metadata *[]struct {+ Id string `json:"id"`+ Key string `json:"key"`+ Value string `json:"value"`+ } `json:"metadata,omitempty"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ ProjectId *string `json:"projectId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identities"`+ TotalCount float32 `json:"totalCount"`} {return r.JSON200}// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r VerifyUserToOrganizationResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyUserToOrganization400JSONResponseBodyStatusCode `json:"statusCode"`+func (r ListProjectMachineIdentitiesResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListProjectMachineIdentities400JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON400}// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r VerifyUserToOrganizationResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyUserToOrganization401JSONResponseBodyStatusCode `json:"statusCode"`+func (r ListProjectMachineIdentitiesResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListProjectMachineIdentities401JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON401}--// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r VerifyUserToOrganizationResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyUserToOrganization403JSONResponseBodyStatusCode `json:"statusCode"`++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r ListProjectMachineIdentitiesResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListProjectMachineIdentities403JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON403}// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r VerifyUserToOrganizationResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyUserToOrganization404JSONResponseBodyStatusCode `json:"statusCode"`+func (r ListProjectMachineIdentitiesResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListProjectMachineIdentities404JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON404}// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r VerifyUserToOrganizationResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode VerifyUserToOrganization422JSONResponseBodyStatusCode `json:"statusCode"`+func (r ListProjectMachineIdentitiesResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode ListProjectMachineIdentities422JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON422}// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r VerifyUserToOrganizationResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyUserToOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+func (r ListProjectMachineIdentitiesResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListProjectMachineIdentities500JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON500}// GetBody returns the raw response body bytes-func (r VerifyUserToOrganizationResponse) GetBody() []byte {+func (r ListProjectMachineIdentitiesResponse) GetBody() []byte {return r.Body}// Status returns HTTPResponse.Status-func (r VerifyUserToOrganizationResponse) Status() string {+func (r ListProjectMachineIdentitiesResponse) Status() string {if r.HTTPResponse != nil {return r.HTTPResponse.Status}@@ -10317,7 +12088,7 @@ func (r VerifyUserToOrganizationResponse) Status() string {}// StatusCode returns HTTPResponse.StatusCode-func (r VerifyUserToOrganizationResponse) StatusCode() int {+func (r ListProjectMachineIdentitiesResponse) StatusCode() int {if r.HTTPResponse != nil {return r.HTTPResponse.StatusCode}@@ -10325,142 +12096,172 @@ func (r VerifyUserToOrganizationResponse) StatusCode() int {}// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r VerifyUserToOrganizationResponse) ContentType() string {+func (r ListProjectMachineIdentitiesResponse) ContentType() string {if r.HTTPResponse != nil {return r.HTTPResponse.Header.Get("Content-Type")}return ""}-type GetOrganizationPlanResponse struct {+type CreateProjectMachineIdentityResponse struct {Body []byteHTTPResponse *http.Response// JSON200 the response for an HTTP 200 `application/json` responseJSON200 *struct {- Plan interface{} `json:"plan,omitempty"`+ Identity struct {+ ActiveLockoutAuthMethods *[]string `json:"activeLockoutAuthMethods,omitempty"`+ AuthMethods *[]string `json:"authMethods,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Metadata *[]struct {+ Id string `json:"id"`+ Key string `json:"key"`+ Value string `json:"value"`+ } `json:"metadata,omitempty"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ ProjectId *string `json:"projectId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identity"`}// JSON400 the response for an HTTP 400 `application/json` responseJSON400 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetOrganizationPlan400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectMachineIdentity400JSONResponseBodyStatusCode `json:"statusCode"`}// JSON401 the response for an HTTP 401 `application/json` responseJSON401 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetOrganizationPlan401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectMachineIdentity401JSONResponseBodyStatusCode `json:"statusCode"`}// JSON403 the response for an HTTP 403 `application/json` responseJSON403 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetOrganizationPlan403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectMachineIdentity403JSONResponseBodyStatusCode `json:"statusCode"`}// JSON404 the response for an HTTP 404 `application/json` responseJSON404 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetOrganizationPlan404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectMachineIdentity404JSONResponseBodyStatusCode `json:"statusCode"`}// JSON422 the response for an HTTP 422 `application/json` responseJSON422 *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode GetOrganizationPlan422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectMachineIdentity422JSONResponseBodyStatusCode `json:"statusCode"`}// JSON500 the response for an HTTP 500 `application/json` responseJSON500 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetOrganizationPlan500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectMachineIdentity500JSONResponseBodyStatusCode `json:"statusCode"`}}// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r GetOrganizationPlanResponse) GetJSON200() *struct {- Plan interface{} `json:"plan,omitempty"`+func (r CreateProjectMachineIdentityResponse) GetJSON200() *struct {+ Identity struct {+ ActiveLockoutAuthMethods *[]string `json:"activeLockoutAuthMethods,omitempty"`+ AuthMethods *[]string `json:"authMethods,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Metadata *[]struct {+ Id string `json:"id"`+ Key string `json:"key"`+ Value string `json:"value"`+ } `json:"metadata,omitempty"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ ProjectId *string `json:"projectId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identity"`} {return r.JSON200}// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r GetOrganizationPlanResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetOrganizationPlan400JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateProjectMachineIdentityResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectMachineIdentity400JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON400}// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r GetOrganizationPlanResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetOrganizationPlan401JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateProjectMachineIdentityResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectMachineIdentity401JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON401}// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r GetOrganizationPlanResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetOrganizationPlan403JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateProjectMachineIdentityResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectMachineIdentity403JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON403}// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r GetOrganizationPlanResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetOrganizationPlan404JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateProjectMachineIdentityResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectMachineIdentity404JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON404}// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r GetOrganizationPlanResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode GetOrganizationPlan422JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateProjectMachineIdentityResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectMachineIdentity422JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON422}// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r GetOrganizationPlanResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetOrganizationPlan500JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateProjectMachineIdentityResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectMachineIdentity500JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON500}// GetBody returns the raw response body bytes-func (r GetOrganizationPlanResponse) GetBody() []byte {+func (r CreateProjectMachineIdentityResponse) GetBody() []byte {return r.Body}// Status returns HTTPResponse.Status-func (r GetOrganizationPlanResponse) Status() string {+func (r CreateProjectMachineIdentityResponse) Status() string {if r.HTTPResponse != nil {return r.HTTPResponse.Status}@@ -10468,7 +12269,7 @@ func (r GetOrganizationPlanResponse) Status() string {}// StatusCode returns HTTPResponse.StatusCode-func (r GetOrganizationPlanResponse) StatusCode() int {+func (r CreateProjectMachineIdentityResponse) StatusCode() int {if r.HTTPResponse != nil {return r.HTTPResponse.StatusCode}@@ -10476,214 +12277,154 @@ func (r GetOrganizationPlanResponse) StatusCode() int {}// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r GetOrganizationPlanResponse) ContentType() string {- if r.HTTPResponse != nil {- return r.HTTPResponse.Header.Get("Content-Type")- }- return ""-}--type CreateProjectResponse struct {- Body []byte- HTTPResponse *http.Response- // JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- Project struct {- UnderscoreId string `json:"_id"`- AuditLogsRetentionDays *float32 `json:"auditLogsRetentionDays,omitempty"`- AutoCapitalization *bool `json:"autoCapitalization,omitempty"`- CreatedAt time.Time `json:"createdAt"`- DefaultProduct *string `json:"defaultProduct,omitempty"`- DeletedEnvironments []struct {- DeleteAfter time.Time `json:"deleteAfter"`- DeletedBy *CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy `json:"deletedBy"`- Id string `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- SoftDeletedAt time.Time `json:"softDeletedAt"`- } `json:"deletedEnvironments"`- Description *string `json:"description,omitempty"`- EnforceEncryptedSecretManagerSecretMetadata *bool `json:"enforceEncryptedSecretManagerSecretMetadata,omitempty"`- Environments []struct {- Id string `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"environments"`- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- Id string `json:"id"`- IsLegacyAdditionalPrivilegesEnabled *bool `json:"isLegacyAdditionalPrivilegesEnabled,omitempty"`- KmsCertificateKeyId *openapi_types.UUID `json:"kmsCertificateKeyId,omitempty"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- PitVersionLimit *float32 `json:"pitVersionLimit,omitempty"`- SecretDetectionIgnoreValues *[]string `json:"secretDetectionIgnoreValues,omitempty"`- SecretSharing *bool `json:"secretSharing,omitempty"`- ShowSnapshotsLegacy *bool `json:"showSnapshotsLegacy,omitempty"`- Slug string `json:"slug"`- Type string `json:"type"`- UpdatedAt time.Time `json:"updatedAt"`- UpgradeStatus *string `json:"upgradeStatus,omitempty"`- Version *float32 `json:"version,omitempty"`- } `json:"project"`+func (r CreateProjectMachineIdentityResponse) ContentType() string {+ if r.HTTPResponse != nil {+ return r.HTTPResponse.Header.Get("Content-Type")+ }+ return ""+}++type InviteProjectMembersResponse struct {+ Body []byte+ HTTPResponse *http.Response+ // JSON200 the response for an HTTP 200 `application/json` response+ JSON200 *struct {+ Memberships []struct {+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ ProjectId string `json:"projectId"`+ UpdatedAt time.Time `json:"updatedAt"`+ UserId openapi_types.UUID `json:"userId"`+ } `json:"memberships"`}// JSON400 the response for an HTTP 400 `application/json` responseJSON400 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProject400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteProjectMembers400JSONResponseBodyStatusCode `json:"statusCode"`}// JSON401 the response for an HTTP 401 `application/json` responseJSON401 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProject401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteProjectMembers401JSONResponseBodyStatusCode `json:"statusCode"`}// JSON403 the response for an HTTP 403 `application/json` responseJSON403 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProject403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteProjectMembers403JSONResponseBodyStatusCode `json:"statusCode"`}// JSON404 the response for an HTTP 404 `application/json` responseJSON404 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProject404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteProjectMembers404JSONResponseBodyStatusCode `json:"statusCode"`}// JSON422 the response for an HTTP 422 `application/json` responseJSON422 *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateProject422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode InviteProjectMembers422JSONResponseBodyStatusCode `json:"statusCode"`}// JSON500 the response for an HTTP 500 `application/json` responseJSON500 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProject500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteProjectMembers500JSONResponseBodyStatusCode `json:"statusCode"`}}// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r CreateProjectResponse) GetJSON200() *struct {- Project struct {- UnderscoreId string `json:"_id"`- AuditLogsRetentionDays *float32 `json:"auditLogsRetentionDays,omitempty"`- AutoCapitalization *bool `json:"autoCapitalization,omitempty"`- CreatedAt time.Time `json:"createdAt"`- DefaultProduct *string `json:"defaultProduct,omitempty"`- DeletedEnvironments []struct {- DeleteAfter time.Time `json:"deleteAfter"`- DeletedBy *CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy `json:"deletedBy"`- Id string `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- SoftDeletedAt time.Time `json:"softDeletedAt"`- } `json:"deletedEnvironments"`- Description *string `json:"description,omitempty"`- EnforceEncryptedSecretManagerSecretMetadata *bool `json:"enforceEncryptedSecretManagerSecretMetadata,omitempty"`- Environments []struct {- Id string `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"environments"`- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- Id string `json:"id"`- IsLegacyAdditionalPrivilegesEnabled *bool `json:"isLegacyAdditionalPrivilegesEnabled,omitempty"`- KmsCertificateKeyId *openapi_types.UUID `json:"kmsCertificateKeyId,omitempty"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- PitVersionLimit *float32 `json:"pitVersionLimit,omitempty"`- SecretDetectionIgnoreValues *[]string `json:"secretDetectionIgnoreValues,omitempty"`- SecretSharing *bool `json:"secretSharing,omitempty"`- ShowSnapshotsLegacy *bool `json:"showSnapshotsLegacy,omitempty"`- Slug string `json:"slug"`- Type string `json:"type"`- UpdatedAt time.Time `json:"updatedAt"`- UpgradeStatus *string `json:"upgradeStatus,omitempty"`- Version *float32 `json:"version,omitempty"`- } `json:"project"`+func (r InviteProjectMembersResponse) GetJSON200() *struct {+ Memberships []struct {+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ ProjectId string `json:"projectId"`+ UpdatedAt time.Time `json:"updatedAt"`+ UserId openapi_types.UUID `json:"userId"`+ } `json:"memberships"`} {return r.JSON200}// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r CreateProjectResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProject400JSONResponseBodyStatusCode `json:"statusCode"`+func (r InviteProjectMembersResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteProjectMembers400JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON400}// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r CreateProjectResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProject401JSONResponseBodyStatusCode `json:"statusCode"`+func (r InviteProjectMembersResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteProjectMembers401JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON401}// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r CreateProjectResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProject403JSONResponseBodyStatusCode `json:"statusCode"`+func (r InviteProjectMembersResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteProjectMembers403JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON403}// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r CreateProjectResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProject404JSONResponseBodyStatusCode `json:"statusCode"`+func (r InviteProjectMembersResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteProjectMembers404JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON404}// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r CreateProjectResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateProject422JSONResponseBodyStatusCode `json:"statusCode"`+func (r InviteProjectMembersResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode InviteProjectMembers422JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON422}// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r CreateProjectResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProject500JSONResponseBodyStatusCode `json:"statusCode"`+func (r InviteProjectMembersResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteProjectMembers500JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON500}// GetBody returns the raw response body bytes-func (r CreateProjectResponse) GetBody() []byte {+func (r InviteProjectMembersResponse) GetBody() []byte {return r.Body}// Status returns HTTPResponse.Status-func (r CreateProjectResponse) Status() string {+func (r InviteProjectMembersResponse) Status() string {if r.HTTPResponse != nil {return r.HTTPResponse.Status}@@ -10691,7 +12432,7 @@ func (r CreateProjectResponse) Status() string {}// StatusCode returns HTTPResponse.StatusCode-func (r CreateProjectResponse) StatusCode() int {+func (r InviteProjectMembersResponse) StatusCode() int {if r.HTTPResponse != nil {return r.HTTPResponse.StatusCode}@@ -10699,174 +12440,154 @@ func (r CreateProjectResponse) StatusCode() int {}// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r CreateProjectResponse) ContentType() string {+func (r InviteProjectMembersResponse) ContentType() string {if r.HTTPResponse != nil {return r.HTTPResponse.Header.Get("Content-Type")}return ""}-type ListProjectMachineIdentitiesResponse struct {+type CreateProjectIdentityMembershipResponse struct {Body []byteHTTPResponse *http.Response// JSON200 the response for an HTTP 200 `application/json` responseJSON200 *struct {- Identities []struct {- ActiveLockoutAuthMethods *[]string `json:"activeLockoutAuthMethods,omitempty"`- AuthMethods *[]string `json:"authMethods,omitempty"`- CreatedAt time.Time `json:"createdAt"`- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- Id openapi_types.UUID `json:"id"`- Metadata *[]struct {- Id string `json:"id"`- Key string `json:"key"`- Value string `json:"value"`- } `json:"metadata,omitempty"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- ProjectId *string `json:"projectId,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identities"`- TotalCount float32 `json:"totalCount"`+ IdentityMembership struct {+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ IdentityId openapi_types.UUID `json:"identityId"`+ ProjectId string `json:"projectId"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identityMembership"`}// JSON400 the response for an HTTP 400 `application/json` responseJSON400 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode ListProjectMachineIdentities400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectIdentityMembership400JSONResponseBodyStatusCode `json:"statusCode"`}// JSON401 the response for an HTTP 401 `application/json` responseJSON401 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode ListProjectMachineIdentities401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectIdentityMembership401JSONResponseBodyStatusCode `json:"statusCode"`}// JSON403 the response for an HTTP 403 `application/json` responseJSON403 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode ListProjectMachineIdentities403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectIdentityMembership403JSONResponseBodyStatusCode `json:"statusCode"`}// JSON404 the response for an HTTP 404 `application/json` responseJSON404 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode ListProjectMachineIdentities404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectIdentityMembership404JSONResponseBodyStatusCode `json:"statusCode"`}// JSON422 the response for an HTTP 422 `application/json` responseJSON422 *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode ListProjectMachineIdentities422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectIdentityMembership422JSONResponseBodyStatusCode `json:"statusCode"`}// JSON500 the response for an HTTP 500 `application/json` responseJSON500 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode ListProjectMachineIdentities500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectIdentityMembership500JSONResponseBodyStatusCode `json:"statusCode"`}}// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r ListProjectMachineIdentitiesResponse) GetJSON200() *struct {- Identities []struct {- ActiveLockoutAuthMethods *[]string `json:"activeLockoutAuthMethods,omitempty"`- AuthMethods *[]string `json:"authMethods,omitempty"`- CreatedAt time.Time `json:"createdAt"`- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- Id openapi_types.UUID `json:"id"`- Metadata *[]struct {- Id string `json:"id"`- Key string `json:"key"`- Value string `json:"value"`- } `json:"metadata,omitempty"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- ProjectId *string `json:"projectId,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identities"`- TotalCount float32 `json:"totalCount"`+func (r CreateProjectIdentityMembershipResponse) GetJSON200() *struct {+ IdentityMembership struct {+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ IdentityId openapi_types.UUID `json:"identityId"`+ ProjectId string `json:"projectId"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identityMembership"`} {return r.JSON200}// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r ListProjectMachineIdentitiesResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode ListProjectMachineIdentities400JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateProjectIdentityMembershipResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectIdentityMembership400JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON400}// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r ListProjectMachineIdentitiesResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode ListProjectMachineIdentities401JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateProjectIdentityMembershipResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectIdentityMembership401JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON401}// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r ListProjectMachineIdentitiesResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode ListProjectMachineIdentities403JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateProjectIdentityMembershipResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectIdentityMembership403JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON403}// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r ListProjectMachineIdentitiesResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode ListProjectMachineIdentities404JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateProjectIdentityMembershipResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectIdentityMembership404JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON404}// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r ListProjectMachineIdentitiesResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode ListProjectMachineIdentities422JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateProjectIdentityMembershipResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectIdentityMembership422JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON422}// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r ListProjectMachineIdentitiesResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode ListProjectMachineIdentities500JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateProjectIdentityMembershipResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectIdentityMembership500JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON500}// GetBody returns the raw response body bytes-func (r ListProjectMachineIdentitiesResponse) GetBody() []byte {+func (r CreateProjectIdentityMembershipResponse) GetBody() []byte {return r.Body}// Status returns HTTPResponse.Status-func (r ListProjectMachineIdentitiesResponse) Status() string {+func (r CreateProjectIdentityMembershipResponse) Status() string {if r.HTTPResponse != nil {return r.HTTPResponse.Status}@@ -10874,7 +12595,7 @@ func (r ListProjectMachineIdentitiesResponse) Status() string {}// StatusCode returns HTTPResponse.StatusCode-func (r ListProjectMachineIdentitiesResponse) StatusCode() int {+func (r CreateProjectIdentityMembershipResponse) StatusCode() int {if r.HTTPResponse != nil {return r.HTTPResponse.StatusCode}@@ -10882,172 +12603,206 @@ func (r ListProjectMachineIdentitiesResponse) StatusCode() int {}// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r ListProjectMachineIdentitiesResponse) ContentType() string {+func (r CreateProjectIdentityMembershipResponse) ContentType() string {if r.HTTPResponse != nil {return r.HTTPResponse.Header.Get("Content-Type")}return ""}-type CreateProjectMachineIdentityResponse struct {+type CreateOrganizationResponse struct {Body []byteHTTPResponse *http.Response// JSON200 the response for an HTTP 200 `application/json` responseJSON200 *struct {- Identity struct {- ActiveLockoutAuthMethods *[]string `json:"activeLockoutAuthMethods,omitempty"`- AuthMethods *[]string `json:"authMethods,omitempty"`- CreatedAt time.Time `json:"createdAt"`- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- Id openapi_types.UUID `json:"id"`- Metadata *[]struct {- Id string `json:"id"`- Key string `json:"key"`- Value string `json:"value"`- } `json:"metadata,omitempty"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- ProjectId *string `json:"projectId,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identity"`+ Organization struct {+ AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`+ AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`+ AuthEnforced *bool `json:"authEnforced,omitempty"`+ BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`+ BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ CustomerId *string `json:"customerId,omitempty"`+ DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`+ EnforceMfa *bool `json:"enforceMfa,omitempty"`+ GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`+ Id openapi_types.UUID `json:"id"`+ KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`+ KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`+ MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`+ MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`+ Name string `json:"name"`+ ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`+ PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`+ PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`+ PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`+ RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`+ ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`+ ScimEnabled *bool `json:"scimEnabled,omitempty"`+ SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`+ SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`+ SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`+ ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`+ ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`+ Slug string `json:"slug"`+ UpdatedAt time.Time `json:"updatedAt"`+ UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`+ } `json:"organization"`}// JSON400 the response for an HTTP 400 `application/json` responseJSON400 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectMachineIdentity400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization400JSONResponseBodyStatusCode `json:"statusCode"`}// JSON401 the response for an HTTP 401 `application/json` responseJSON401 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectMachineIdentity401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization401JSONResponseBodyStatusCode `json:"statusCode"`}// JSON403 the response for an HTTP 403 `application/json` responseJSON403 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectMachineIdentity403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization403JSONResponseBodyStatusCode `json:"statusCode"`}// JSON404 the response for an HTTP 404 `application/json` responseJSON404 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectMachineIdentity404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization404JSONResponseBodyStatusCode `json:"statusCode"`}// JSON422 the response for an HTTP 422 `application/json` responseJSON422 *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateProjectMachineIdentity422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization422JSONResponseBodyStatusCode `json:"statusCode"`}// JSON500 the response for an HTTP 500 `application/json` responseJSON500 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectMachineIdentity500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization500JSONResponseBodyStatusCode `json:"statusCode"`}}// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r CreateProjectMachineIdentityResponse) GetJSON200() *struct {- Identity struct {- ActiveLockoutAuthMethods *[]string `json:"activeLockoutAuthMethods,omitempty"`- AuthMethods *[]string `json:"authMethods,omitempty"`- CreatedAt time.Time `json:"createdAt"`- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- Id openapi_types.UUID `json:"id"`- Metadata *[]struct {- Id string `json:"id"`- Key string `json:"key"`- Value string `json:"value"`- } `json:"metadata,omitempty"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- ProjectId *string `json:"projectId,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identity"`+func (r CreateOrganizationResponse) GetJSON200() *struct {+ Organization struct {+ AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`+ AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`+ AuthEnforced *bool `json:"authEnforced,omitempty"`+ BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`+ BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ CustomerId *string `json:"customerId,omitempty"`+ DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`+ EnforceMfa *bool `json:"enforceMfa,omitempty"`+ GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`+ Id openapi_types.UUID `json:"id"`+ KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`+ KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`+ MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`+ MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`+ Name string `json:"name"`+ ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`+ PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`+ PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`+ PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`+ RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`+ ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`+ ScimEnabled *bool `json:"scimEnabled,omitempty"`+ SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`+ SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`+ SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`+ ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`+ ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`+ Slug string `json:"slug"`+ UpdatedAt time.Time `json:"updatedAt"`+ UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`+ } `json:"organization"`} {return r.JSON200}// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r CreateProjectMachineIdentityResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectMachineIdentity400JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateOrganizationResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization400JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON400}// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r CreateProjectMachineIdentityResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectMachineIdentity401JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateOrganizationResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization401JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON401}// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r CreateProjectMachineIdentityResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectMachineIdentity403JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateOrganizationResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization403JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON403}// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r CreateProjectMachineIdentityResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectMachineIdentity404JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateOrganizationResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization404JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON404}// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r CreateProjectMachineIdentityResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateProjectMachineIdentity422JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateOrganizationResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization422JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON422}// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r CreateProjectMachineIdentityResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectMachineIdentity500JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateOrganizationResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization500JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON500}// GetBody returns the raw response body bytes-func (r CreateProjectMachineIdentityResponse) GetBody() []byte {+func (r CreateOrganizationResponse) GetBody() []byte {return r.Body}// Status returns HTTPResponse.Status-func (r CreateProjectMachineIdentityResponse) Status() string {+func (r CreateOrganizationResponse) Status() string {if r.HTTPResponse != nil {return r.HTTPResponse.Status}@@ -11055,7 +12810,7 @@ func (r CreateProjectMachineIdentityResponse) Status() string {}// StatusCode returns HTTPResponse.StatusCode-func (r CreateProjectMachineIdentityResponse) StatusCode() int {+func (r CreateOrganizationResponse) StatusCode() int {if r.HTTPResponse != nil {return r.HTTPResponse.StatusCode}@@ -11063,154 +12818,208 @@ func (r CreateProjectMachineIdentityResponse) StatusCode() int {}// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r CreateProjectMachineIdentityResponse) ContentType() string {+func (r CreateOrganizationResponse) ContentType() string {if r.HTTPResponse != nil {return r.HTTPResponse.Header.Get("Content-Type")}return ""}-type InviteProjectMembersResponse struct {+type DeleteOrganizationResponse struct {Body []byteHTTPResponse *http.Response// JSON200 the response for an HTTP 200 `application/json` responseJSON200 *struct {- Memberships []struct {- CreatedAt time.Time `json:"createdAt"`- Id openapi_types.UUID `json:"id"`- ProjectId string `json:"projectId"`- UpdatedAt time.Time `json:"updatedAt"`- UserId openapi_types.UUID `json:"userId"`- } `json:"memberships"`+ AccessToken string `json:"accessToken"`+ Organization struct {+ AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`+ AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`+ AuthEnforced *bool `json:"authEnforced,omitempty"`+ BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`+ BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ CustomerId *string `json:"customerId,omitempty"`+ DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`+ EnforceMfa *bool `json:"enforceMfa,omitempty"`+ GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`+ Id openapi_types.UUID `json:"id"`+ KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`+ KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`+ MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`+ MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`+ Name string `json:"name"`+ ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`+ PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`+ PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`+ PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`+ RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`+ ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`+ ScimEnabled *bool `json:"scimEnabled,omitempty"`+ SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`+ SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`+ SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`+ ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`+ ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`+ Slug string `json:"slug"`+ UpdatedAt time.Time `json:"updatedAt"`+ UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`+ } `json:"organization"`}// JSON400 the response for an HTTP 400 `application/json` responseJSON400 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteProjectMembers400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization400JSONResponseBodyStatusCode `json:"statusCode"`}// JSON401 the response for an HTTP 401 `application/json` responseJSON401 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteProjectMembers401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization401JSONResponseBodyStatusCode `json:"statusCode"`}// JSON403 the response for an HTTP 403 `application/json` responseJSON403 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteProjectMembers403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization403JSONResponseBodyStatusCode `json:"statusCode"`}// JSON404 the response for an HTTP 404 `application/json` responseJSON404 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteProjectMembers404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization404JSONResponseBodyStatusCode `json:"statusCode"`}// JSON422 the response for an HTTP 422 `application/json` responseJSON422 *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode InviteProjectMembers422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization422JSONResponseBodyStatusCode `json:"statusCode"`}// JSON500 the response for an HTTP 500 `application/json` responseJSON500 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteProjectMembers500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization500JSONResponseBodyStatusCode `json:"statusCode"`}}// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r InviteProjectMembersResponse) GetJSON200() *struct {- Memberships []struct {- CreatedAt time.Time `json:"createdAt"`- Id openapi_types.UUID `json:"id"`- ProjectId string `json:"projectId"`- UpdatedAt time.Time `json:"updatedAt"`- UserId openapi_types.UUID `json:"userId"`- } `json:"memberships"`+func (r DeleteOrganizationResponse) GetJSON200() *struct {+ AccessToken string `json:"accessToken"`+ Organization struct {+ AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`+ AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`+ AuthEnforced *bool `json:"authEnforced,omitempty"`+ BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`+ BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ CustomerId *string `json:"customerId,omitempty"`+ DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`+ EnforceMfa *bool `json:"enforceMfa,omitempty"`+ GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`+ Id openapi_types.UUID `json:"id"`+ KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`+ KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`+ MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`+ MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`+ Name string `json:"name"`+ ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`+ PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`+ PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`+ PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`+ RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`+ ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`+ ScimEnabled *bool `json:"scimEnabled,omitempty"`+ SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`+ SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`+ SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`+ ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`+ ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`+ Slug string `json:"slug"`+ UpdatedAt time.Time `json:"updatedAt"`+ UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`+ } `json:"organization"`} {return r.JSON200}// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r InviteProjectMembersResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteProjectMembers400JSONResponseBodyStatusCode `json:"statusCode"`+func (r DeleteOrganizationResponse) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization400JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON400}// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r InviteProjectMembersResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteProjectMembers401JSONResponseBodyStatusCode `json:"statusCode"`+func (r DeleteOrganizationResponse) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization401JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON401}// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r InviteProjectMembersResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteProjectMembers403JSONResponseBodyStatusCode `json:"statusCode"`+func (r DeleteOrganizationResponse) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization403JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON403}// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r InviteProjectMembersResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteProjectMembers404JSONResponseBodyStatusCode `json:"statusCode"`+func (r DeleteOrganizationResponse) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization404JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON404}// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r InviteProjectMembersResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode InviteProjectMembers422JSONResponseBodyStatusCode `json:"statusCode"`+func (r DeleteOrganizationResponse) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization422JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON422}// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r InviteProjectMembersResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteProjectMembers500JSONResponseBodyStatusCode `json:"statusCode"`+func (r DeleteOrganizationResponse) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization500JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON500}// GetBody returns the raw response body bytes-func (r InviteProjectMembersResponse) GetBody() []byte {+func (r DeleteOrganizationResponse) GetBody() []byte {return r.Body}// Status returns HTTPResponse.Status-func (r InviteProjectMembersResponse) Status() string {+func (r DeleteOrganizationResponse) Status() string {if r.HTTPResponse != nil {return r.HTTPResponse.Status}@@ -11218,7 +13027,7 @@ func (r InviteProjectMembersResponse) Status() string {}// StatusCode returns HTTPResponse.StatusCode-func (r InviteProjectMembersResponse) StatusCode() int {+func (r DeleteOrganizationResponse) StatusCode() int {if r.HTTPResponse != nil {return r.HTTPResponse.StatusCode}@@ -11226,154 +13035,142 @@ func (r InviteProjectMembersResponse) StatusCode() int {}// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r InviteProjectMembersResponse) ContentType() string {+func (r DeleteOrganizationResponse) ContentType() string {if r.HTTPResponse != nil {return r.HTTPResponse.Header.Get("Content-Type")}return ""}-type CreateProjectIdentityMembershipResponse struct {+type LoginV3Response struct {Body []byteHTTPResponse *http.Response// JSON200 the response for an HTTP 200 `application/json` responseJSON200 *struct {- IdentityMembership struct {- CreatedAt time.Time `json:"createdAt"`- Id openapi_types.UUID `json:"id"`- IdentityId openapi_types.UUID `json:"identityId"`- ProjectId string `json:"projectId"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identityMembership"`+ AccessToken string `json:"accessToken"`}// JSON400 the response for an HTTP 400 `application/json` responseJSON400 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectIdentityMembership400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3400JSONResponseBodyStatusCode `json:"statusCode"`}// JSON401 the response for an HTTP 401 `application/json` responseJSON401 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectIdentityMembership401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3401JSONResponseBodyStatusCode `json:"statusCode"`}// JSON403 the response for an HTTP 403 `application/json` responseJSON403 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectIdentityMembership403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3403JSONResponseBodyStatusCode `json:"statusCode"`}// JSON404 the response for an HTTP 404 `application/json` responseJSON404 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectIdentityMembership404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3404JSONResponseBodyStatusCode `json:"statusCode"`}// JSON422 the response for an HTTP 422 `application/json` responseJSON422 *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateProjectIdentityMembership422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3422JSONResponseBodyStatusCode `json:"statusCode"`}// JSON500 the response for an HTTP 500 `application/json` responseJSON500 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectIdentityMembership500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3500JSONResponseBodyStatusCode `json:"statusCode"`}}// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r CreateProjectIdentityMembershipResponse) GetJSON200() *struct {- IdentityMembership struct {- CreatedAt time.Time `json:"createdAt"`- Id openapi_types.UUID `json:"id"`- IdentityId openapi_types.UUID `json:"identityId"`- ProjectId string `json:"projectId"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identityMembership"`+func (r LoginV3Response) GetJSON200() *struct {+ AccessToken string `json:"accessToken"`} {return r.JSON200}// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r CreateProjectIdentityMembershipResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectIdentityMembership400JSONResponseBodyStatusCode `json:"statusCode"`+func (r LoginV3Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3400JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON400}// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r CreateProjectIdentityMembershipResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectIdentityMembership401JSONResponseBodyStatusCode `json:"statusCode"`+func (r LoginV3Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3401JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON401}// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r CreateProjectIdentityMembershipResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectIdentityMembership403JSONResponseBodyStatusCode `json:"statusCode"`+func (r LoginV3Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3403JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON403}// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r CreateProjectIdentityMembershipResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectIdentityMembership404JSONResponseBodyStatusCode `json:"statusCode"`+func (r LoginV3Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3404JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON404}// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r CreateProjectIdentityMembershipResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateProjectIdentityMembership422JSONResponseBodyStatusCode `json:"statusCode"`+func (r LoginV3Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3422JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON422}// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r CreateProjectIdentityMembershipResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectIdentityMembership500JSONResponseBodyStatusCode `json:"statusCode"`+func (r LoginV3Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3500JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON500}// GetBody returns the raw response body bytes-func (r CreateProjectIdentityMembershipResponse) GetBody() []byte {+func (r LoginV3Response) GetBody() []byte {return r.Body}// Status returns HTTPResponse.Status-func (r CreateProjectIdentityMembershipResponse) Status() string {+func (r LoginV3Response) Status() string {if r.HTTPResponse != nil {return r.HTTPResponse.Status}@@ -11381,7 +13178,7 @@ func (r CreateProjectIdentityMembershipResponse) Status() string {}// StatusCode returns HTTPResponse.StatusCode-func (r CreateProjectIdentityMembershipResponse) StatusCode() int {+func (r LoginV3Response) StatusCode() int {if r.HTTPResponse != nil {return r.HTTPResponse.StatusCode}@@ -11389,206 +13186,146 @@ func (r CreateProjectIdentityMembershipResponse) StatusCode() int {}// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r CreateProjectIdentityMembershipResponse) ContentType() string {+func (r LoginV3Response) ContentType() string {if r.HTTPResponse != nil {return r.HTTPResponse.Header.Get("Content-Type")}return ""}-type CreateOrganizationResponse struct {+type SelectOrganizationV3Response struct {Body []byteHTTPResponse *http.Response// JSON200 the response for an HTTP 200 `application/json` responseJSON200 *struct {- Organization struct {- AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`- AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`- AuthEnforced *bool `json:"authEnforced,omitempty"`- BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`- BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`- CreatedAt time.Time `json:"createdAt"`- CustomerId *string `json:"customerId,omitempty"`- DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`- EnforceMfa *bool `json:"enforceMfa,omitempty"`- GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`- Id openapi_types.UUID `json:"id"`- KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`- KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`- MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`- MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`- Name string `json:"name"`- ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`- PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`- PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`- PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`- RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`- ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`- ScimEnabled *bool `json:"scimEnabled,omitempty"`- SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`- SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`- SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`- ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`- ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`- Slug string `json:"slug"`- UpdatedAt time.Time `json:"updatedAt"`- UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`- } `json:"organization"`+ IsMfaEnabled bool `json:"isMfaEnabled"`+ MfaMethod *string `json:"mfaMethod,omitempty"`+ Token string `json:"token"`}// JSON400 the response for an HTTP 400 `application/json` responseJSON400 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateOrganization400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3400JSONResponseBodyStatusCode `json:"statusCode"`}// JSON401 the response for an HTTP 401 `application/json` responseJSON401 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateOrganization401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3401JSONResponseBodyStatusCode `json:"statusCode"`}// JSON403 the response for an HTTP 403 `application/json` responseJSON403 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateOrganization403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3403JSONResponseBodyStatusCode `json:"statusCode"`}// JSON404 the response for an HTTP 404 `application/json` responseJSON404 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateOrganization404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3404JSONResponseBodyStatusCode `json:"statusCode"`}- // JSON422 the response for an HTTP 422 `application/json` response- JSON422 *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateOrganization422JSONResponseBodyStatusCode `json:"statusCode"`+ // JSON422 the response for an HTTP 422 `application/json` response+ JSON422 *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3422JSONResponseBodyStatusCode `json:"statusCode"`}// JSON500 the response for an HTTP 500 `application/json` responseJSON500 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3500JSONResponseBodyStatusCode `json:"statusCode"`}}// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r CreateOrganizationResponse) GetJSON200() *struct {- Organization struct {- AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`- AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`- AuthEnforced *bool `json:"authEnforced,omitempty"`- BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`- BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`- CreatedAt time.Time `json:"createdAt"`- CustomerId *string `json:"customerId,omitempty"`- DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`- EnforceMfa *bool `json:"enforceMfa,omitempty"`- GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`- Id openapi_types.UUID `json:"id"`- KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`- KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`- MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`- MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`- Name string `json:"name"`- ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`- PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`- PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`- PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`- RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`- ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`- ScimEnabled *bool `json:"scimEnabled,omitempty"`- SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`- SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`- SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`- ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`- ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`- Slug string `json:"slug"`- UpdatedAt time.Time `json:"updatedAt"`- UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`- } `json:"organization"`+func (r SelectOrganizationV3Response) GetJSON200() *struct {+ IsMfaEnabled bool `json:"isMfaEnabled"`+ MfaMethod *string `json:"mfaMethod,omitempty"`+ Token string `json:"token"`} {return r.JSON200}// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r CreateOrganizationResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateOrganization400JSONResponseBodyStatusCode `json:"statusCode"`+func (r SelectOrganizationV3Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3400JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON400}// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r CreateOrganizationResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateOrganization401JSONResponseBodyStatusCode `json:"statusCode"`+func (r SelectOrganizationV3Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3401JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON401}// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r CreateOrganizationResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateOrganization403JSONResponseBodyStatusCode `json:"statusCode"`+func (r SelectOrganizationV3Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3403JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON403}// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r CreateOrganizationResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateOrganization404JSONResponseBodyStatusCode `json:"statusCode"`+func (r SelectOrganizationV3Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3404JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON404}// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r CreateOrganizationResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateOrganization422JSONResponseBodyStatusCode `json:"statusCode"`+func (r SelectOrganizationV3Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3422JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON422}// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r CreateOrganizationResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+func (r SelectOrganizationV3Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3500JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON500}// GetBody returns the raw response body bytes-func (r CreateOrganizationResponse) GetBody() []byte {+func (r SelectOrganizationV3Response) GetBody() []byte {return r.Body}// Status returns HTTPResponse.Status-func (r CreateOrganizationResponse) Status() string {+func (r SelectOrganizationV3Response) Status() string {if r.HTTPResponse != nil {return r.HTTPResponse.Status}@@ -11596,7 +13333,7 @@ func (r CreateOrganizationResponse) Status() string {}// StatusCode returns HTTPResponse.StatusCode-func (r CreateOrganizationResponse) StatusCode() int {+func (r SelectOrganizationV3Response) StatusCode() int {if r.HTTPResponse != nil {return r.HTTPResponse.StatusCode}@@ -11604,208 +13341,164 @@ func (r CreateOrganizationResponse) StatusCode() int {}// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r CreateOrganizationResponse) ContentType() string {+func (r SelectOrganizationV3Response) ContentType() string {if r.HTTPResponse != nil {return r.HTTPResponse.Header.Get("Content-Type")}return ""}-type DeleteOrganizationResponse struct {+type CompleteAccountSignupV3Response struct {Body []byteHTTPResponse *http.Response// JSON200 the response for an HTTP 200 `application/json` responseJSON200 *struct {- AccessToken string `json:"accessToken"`- Organization struct {- AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`- AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`- AuthEnforced *bool `json:"authEnforced,omitempty"`- BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`- BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`- CreatedAt time.Time `json:"createdAt"`- CustomerId *string `json:"customerId,omitempty"`- DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`- EnforceMfa *bool `json:"enforceMfa,omitempty"`- GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`- Id openapi_types.UUID `json:"id"`- KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`- KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`- MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`- MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`- Name string `json:"name"`- ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`- PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`- PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`- PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`- RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`- ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`- ScimEnabled *bool `json:"scimEnabled,omitempty"`- SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`- SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`- SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`- ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`- ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`- Slug string `json:"slug"`- UpdatedAt time.Time `json:"updatedAt"`- UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`- } `json:"organization"`+ Message string `json:"message"`+ Token string `json:"token"`+ User struct {+ AuthMethods *[]string `json:"authMethods,omitempty"`+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsEmailVerified *bool `json:"isEmailVerified,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ PublicKey *string `json:"publicKey,omitempty"`+ Username string `json:"username"`+ } `json:"user"`}// JSON400 the response for an HTTP 400 `application/json` responseJSON400 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteOrganization400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`}// JSON401 the response for an HTTP 401 `application/json` responseJSON401 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteOrganization401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`}// JSON403 the response for an HTTP 403 `application/json` response- JSON403 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteOrganization403JSONResponseBodyStatusCode `json:"statusCode"`- }- // JSON404 the response for an HTTP 404 `application/json` response- JSON404 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteOrganization404JSONResponseBodyStatusCode `json:"statusCode"`- }- // JSON422 the response for an HTTP 422 `application/json` response- JSON422 *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode DeleteOrganization422JSONResponseBodyStatusCode `json:"statusCode"`- }- // JSON500 the response for an HTTP 500 `application/json` response- JSON500 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteOrganization500JSONResponseBodyStatusCode `json:"statusCode"`- }-}--// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r DeleteOrganizationResponse) GetJSON200() *struct {- AccessToken string `json:"accessToken"`- Organization struct {- AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`- AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`- AuthEnforced *bool `json:"authEnforced,omitempty"`- BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`- BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`- CreatedAt time.Time `json:"createdAt"`- CustomerId *string `json:"customerId,omitempty"`- DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`- EnforceMfa *bool `json:"enforceMfa,omitempty"`- GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`- Id openapi_types.UUID `json:"id"`- KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`- KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`- MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`- MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`- Name string `json:"name"`- ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`- PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`- PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`- PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`- RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`- ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`- ScimEnabled *bool `json:"scimEnabled,omitempty"`- SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`- SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`- SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`- ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`- ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`- Slug string `json:"slug"`- UpdatedAt time.Time `json:"updatedAt"`- UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`- } `json:"organization"`+ JSON403 *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON404 the response for an HTTP 404 `application/json` response+ JSON404 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON422 the response for an HTTP 422 `application/json` response+ JSON422 *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ // JSON500 the response for an HTTP 500 `application/json` response+ JSON500 *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`+ }+}++// GetJSON200 returns the response for an HTTP 200 `application/json` response+func (r CompleteAccountSignupV3Response) GetJSON200() *struct {+ Message string `json:"message"`+ Token string `json:"token"`+ User struct {+ AuthMethods *[]string `json:"authMethods,omitempty"`+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsEmailVerified *bool `json:"isEmailVerified,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ PublicKey *string `json:"publicKey,omitempty"`+ Username string `json:"username"`+ } `json:"user"`} {return r.JSON200}// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r DeleteOrganizationResponse) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteOrganization400JSONResponseBodyStatusCode `json:"statusCode"`+func (r CompleteAccountSignupV3Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON400}// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r DeleteOrganizationResponse) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteOrganization401JSONResponseBodyStatusCode `json:"statusCode"`+func (r CompleteAccountSignupV3Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON401}// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r DeleteOrganizationResponse) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteOrganization403JSONResponseBodyStatusCode `json:"statusCode"`+func (r CompleteAccountSignupV3Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON403}// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r DeleteOrganizationResponse) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteOrganization404JSONResponseBodyStatusCode `json:"statusCode"`+func (r CompleteAccountSignupV3Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON404}// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r DeleteOrganizationResponse) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode DeleteOrganization422JSONResponseBodyStatusCode `json:"statusCode"`+func (r CompleteAccountSignupV3Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON422}// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r DeleteOrganizationResponse) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+func (r CompleteAccountSignupV3Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON500}// GetBody returns the raw response body bytes-func (r DeleteOrganizationResponse) GetBody() []byte {+func (r CompleteAccountSignupV3Response) GetBody() []byte {return r.Body}// Status returns HTTPResponse.Status-func (r DeleteOrganizationResponse) Status() string {+func (r CompleteAccountSignupV3Response) Status() string {if r.HTTPResponse != nil {return r.HTTPResponse.Status}@@ -11813,7 +13506,7 @@ func (r DeleteOrganizationResponse) Status() string {}// StatusCode returns HTTPResponse.StatusCode-func (r DeleteOrganizationResponse) StatusCode() int {+func (r CompleteAccountSignupV3Response) StatusCode() int {if r.HTTPResponse != nil {return r.HTTPResponse.StatusCode}@@ -11821,142 +13514,144 @@ func (r DeleteOrganizationResponse) StatusCode() int {}// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r DeleteOrganizationResponse) ContentType() string {+func (r CompleteAccountSignupV3Response) ContentType() string {if r.HTTPResponse != nil {return r.HTTPResponse.Header.Get("Content-Type")}return ""}-type LoginV3Response struct {+type BeginEmailSignupV3Response struct {Body []byteHTTPResponse *http.Response// JSON200 the response for an HTTP 200 `application/json` responseJSON200 *struct {- AccessToken string `json:"accessToken"`+ CooldownSeconds float32 `json:"cooldownSeconds"`+ Message string `json:"message"`}// JSON400 the response for an HTTP 400 `application/json` responseJSON400 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginV3400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`}// JSON401 the response for an HTTP 401 `application/json` responseJSON401 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginV3401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`}// JSON403 the response for an HTTP 403 `application/json` responseJSON403 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginV3403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`}// JSON404 the response for an HTTP 404 `application/json` responseJSON404 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginV3404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`}// JSON422 the response for an HTTP 422 `application/json` responseJSON422 *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode LoginV3422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`}// JSON500 the response for an HTTP 500 `application/json` responseJSON500 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginV3500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`}}// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r LoginV3Response) GetJSON200() *struct {- AccessToken string `json:"accessToken"`+func (r BeginEmailSignupV3Response) GetJSON200() *struct {+ CooldownSeconds float32 `json:"cooldownSeconds"`+ Message string `json:"message"`} {return r.JSON200}// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r LoginV3Response) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginV3400JSONResponseBodyStatusCode `json:"statusCode"`+func (r BeginEmailSignupV3Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON400}// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r LoginV3Response) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginV3401JSONResponseBodyStatusCode `json:"statusCode"`+func (r BeginEmailSignupV3Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON401}// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r LoginV3Response) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginV3403JSONResponseBodyStatusCode `json:"statusCode"`+func (r BeginEmailSignupV3Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON403}// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r LoginV3Response) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginV3404JSONResponseBodyStatusCode `json:"statusCode"`+func (r BeginEmailSignupV3Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON404}// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r LoginV3Response) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode LoginV3422JSONResponseBodyStatusCode `json:"statusCode"`+func (r BeginEmailSignupV3Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON422}// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r LoginV3Response) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginV3500JSONResponseBodyStatusCode `json:"statusCode"`+func (r BeginEmailSignupV3Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON500}// GetBody returns the raw response body bytes-func (r LoginV3Response) GetBody() []byte {+func (r BeginEmailSignupV3Response) GetBody() []byte {return r.Body}// Status returns HTTPResponse.Status-func (r LoginV3Response) Status() string {+func (r BeginEmailSignupV3Response) Status() string {if r.HTTPResponse != nil {return r.HTTPResponse.Status}@@ -11964,7 +13659,7 @@ func (r LoginV3Response) Status() string {}// StatusCode returns HTTPResponse.StatusCode-func (r LoginV3Response) StatusCode() int {+func (r BeginEmailSignupV3Response) StatusCode() int {if r.HTTPResponse != nil {return r.HTTPResponse.StatusCode}@@ -11972,146 +13667,164 @@ func (r LoginV3Response) StatusCode() int {}// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r LoginV3Response) ContentType() string {+func (r BeginEmailSignupV3Response) ContentType() string {if r.HTTPResponse != nil {return r.HTTPResponse.Header.Get("Content-Type")}return ""}-type SelectOrganizationV3Response struct {+type VerifyEmailSignupV3Response struct {Body []byteHTTPResponse *http.Response// JSON200 the response for an HTTP 200 `application/json` responseJSON200 *struct {- IsMfaEnabled bool `json:"isMfaEnabled"`- MfaMethod *string `json:"mfaMethod,omitempty"`- Token string `json:"token"`+ Message string `json:"message"`+ Token string `json:"token"`+ User struct {+ AuthMethods *[]string `json:"authMethods,omitempty"`+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsEmailVerified *bool `json:"isEmailVerified,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ PublicKey *string `json:"publicKey,omitempty"`+ Username string `json:"username"`+ } `json:"user"`}// JSON400 the response for an HTTP 400 `application/json` responseJSON400 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode SelectOrganizationV3400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`}// JSON401 the response for an HTTP 401 `application/json` responseJSON401 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode SelectOrganizationV3401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`}// JSON403 the response for an HTTP 403 `application/json` responseJSON403 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode SelectOrganizationV3403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`}// JSON404 the response for an HTTP 404 `application/json` responseJSON404 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode SelectOrganizationV3404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`}// JSON422 the response for an HTTP 422 `application/json` responseJSON422 *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode SelectOrganizationV3422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`}// JSON500 the response for an HTTP 500 `application/json` responseJSON500 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode SelectOrganizationV3500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`}}// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r SelectOrganizationV3Response) GetJSON200() *struct {- IsMfaEnabled bool `json:"isMfaEnabled"`- MfaMethod *string `json:"mfaMethod,omitempty"`- Token string `json:"token"`+func (r VerifyEmailSignupV3Response) GetJSON200() *struct {+ Message string `json:"message"`+ Token string `json:"token"`+ User struct {+ AuthMethods *[]string `json:"authMethods,omitempty"`+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsEmailVerified *bool `json:"isEmailVerified,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ PublicKey *string `json:"publicKey,omitempty"`+ Username string `json:"username"`+ } `json:"user"`} {return r.JSON200}// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r SelectOrganizationV3Response) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode SelectOrganizationV3400JSONResponseBodyStatusCode `json:"statusCode"`+func (r VerifyEmailSignupV3Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON400}// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r SelectOrganizationV3Response) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode SelectOrganizationV3401JSONResponseBodyStatusCode `json:"statusCode"`+func (r VerifyEmailSignupV3Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON401}// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r SelectOrganizationV3Response) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode SelectOrganizationV3403JSONResponseBodyStatusCode `json:"statusCode"`+func (r VerifyEmailSignupV3Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON403}// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r SelectOrganizationV3Response) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode SelectOrganizationV3404JSONResponseBodyStatusCode `json:"statusCode"`+func (r VerifyEmailSignupV3Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON404}// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r SelectOrganizationV3Response) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode SelectOrganizationV3422JSONResponseBodyStatusCode `json:"statusCode"`+func (r VerifyEmailSignupV3Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON422}// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r SelectOrganizationV3Response) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode SelectOrganizationV3500JSONResponseBodyStatusCode `json:"statusCode"`+func (r VerifyEmailSignupV3Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON500}// GetBody returns the raw response body bytes-func (r SelectOrganizationV3Response) GetBody() []byte {+func (r VerifyEmailSignupV3Response) GetBody() []byte {return r.Body}// Status returns HTTPResponse.Status-func (r SelectOrganizationV3Response) Status() string {+func (r VerifyEmailSignupV3Response) Status() string {if r.HTTPResponse != nil {return r.HTTPResponse.Status}@@ -12119,7 +13832,7 @@ func (r SelectOrganizationV3Response) Status() string {}// StatusCode returns HTTPResponse.StatusCode-func (r SelectOrganizationV3Response) StatusCode() int {+func (r VerifyEmailSignupV3Response) StatusCode() int {if r.HTTPResponse != nil {return r.HTTPResponse.StatusCode}@@ -12127,164 +13840,293 @@ func (r SelectOrganizationV3Response) StatusCode() int {}// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r SelectOrganizationV3Response) ContentType() string {+func (r VerifyEmailSignupV3Response) ContentType() string {if r.HTTPResponse != nil {return r.HTTPResponse.Header.Get("Content-Type")}return ""}-type CompleteAccountSignupV3Response struct {+type ListSecretsV4Response struct {Body []byteHTTPResponse *http.Response// JSON200 the response for an HTTP 200 `application/json` responseJSON200 *struct {- Message string `json:"message"`- Token string `json:"token"`- User struct {- AuthMethods *[]string `json:"authMethods,omitempty"`- Email *string `json:"email,omitempty"`- FirstName *string `json:"firstName,omitempty"`- Id openapi_types.UUID `json:"id"`- IsEmailVerified *bool `json:"isEmailVerified,omitempty"`- LastName *string `json:"lastName,omitempty"`- PublicKey *string `json:"publicKey,omitempty"`- Username string `json:"username"`- } `json:"user"`- }+ Imports *[]struct {+ Environment string `json:"environment"`+ FolderId *string `json:"folderId,omitempty"`+ SecretPath string `json:"secretPath"`+ Secrets []struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretPath *string `json:"secretPath,omitempty"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Type string `json:"type"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secrets"`+ } `json:"imports,omitempty"`+ Secrets []struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretPath *string `json:"secretPath,omitempty"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Tags *[]struct {+ Color *string `json:"color,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"tags,omitempty"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secrets"`+ }+ // JSON304 the response for an HTTP 304 `application/json` response+ JSON304 *interface{}// JSON400 the response for an HTTP 400 `application/json` responseJSON400 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CompleteAccountSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4400JSONResponseBodyStatusCode `json:"statusCode"`}// JSON401 the response for an HTTP 401 `application/json` responseJSON401 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CompleteAccountSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4401JSONResponseBodyStatusCode `json:"statusCode"`}// JSON403 the response for an HTTP 403 `application/json` responseJSON403 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CompleteAccountSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4403JSONResponseBodyStatusCode `json:"statusCode"`}// JSON404 the response for an HTTP 404 `application/json` responseJSON404 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CompleteAccountSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4404JSONResponseBodyStatusCode `json:"statusCode"`}// JSON422 the response for an HTTP 422 `application/json` responseJSON422 *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CompleteAccountSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4422JSONResponseBodyStatusCode `json:"statusCode"`}// JSON500 the response for an HTTP 500 `application/json` responseJSON500 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CompleteAccountSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4500JSONResponseBodyStatusCode `json:"statusCode"`}}// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r CompleteAccountSignupV3Response) GetJSON200() *struct {- Message string `json:"message"`- Token string `json:"token"`- User struct {- AuthMethods *[]string `json:"authMethods,omitempty"`- Email *string `json:"email,omitempty"`- FirstName *string `json:"firstName,omitempty"`- Id openapi_types.UUID `json:"id"`- IsEmailVerified *bool `json:"isEmailVerified,omitempty"`- LastName *string `json:"lastName,omitempty"`- PublicKey *string `json:"publicKey,omitempty"`- Username string `json:"username"`- } `json:"user"`+func (r ListSecretsV4Response) GetJSON200() *struct {+ Imports *[]struct {+ Environment string `json:"environment"`+ FolderId *string `json:"folderId,omitempty"`+ SecretPath string `json:"secretPath"`+ Secrets []struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretPath *string `json:"secretPath,omitempty"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Type string `json:"type"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secrets"`+ } `json:"imports,omitempty"`+ Secrets []struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretPath *string `json:"secretPath,omitempty"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Tags *[]struct {+ Color *string `json:"color,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"tags,omitempty"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secrets"`} {return r.JSON200}+// GetJSON304 returns the response for an HTTP 304 `application/json` response+func (r ListSecretsV4Response) GetJSON304() *interface{} {+ return r.JSON304+}+// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r CompleteAccountSignupV3Response) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CompleteAccountSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`+func (r ListSecretsV4Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4400JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON400}// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r CompleteAccountSignupV3Response) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CompleteAccountSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`-} {- return r.JSON401-}--// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r CompleteAccountSignupV3Response) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CompleteAccountSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`+func (r ListSecretsV4Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4401JSONResponseBodyStatusCode `json:"statusCode"`+} {+ return r.JSON401+}++// GetJSON403 returns the response for an HTTP 403 `application/json` response+func (r ListSecretsV4Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4403JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON403}// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r CompleteAccountSignupV3Response) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CompleteAccountSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`+func (r ListSecretsV4Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4404JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON404}// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r CompleteAccountSignupV3Response) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CompleteAccountSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`+func (r ListSecretsV4Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4422JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON422}// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r CompleteAccountSignupV3Response) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CompleteAccountSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`+func (r ListSecretsV4Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4500JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON500}// GetBody returns the raw response body bytes-func (r CompleteAccountSignupV3Response) GetBody() []byte {+func (r ListSecretsV4Response) GetBody() []byte {return r.Body}// Status returns HTTPResponse.Status-func (r CompleteAccountSignupV3Response) Status() string {+func (r ListSecretsV4Response) Status() string {if r.HTTPResponse != nil {return r.HTTPResponse.Status}@@ -12292,7 +14134,7 @@ func (r CompleteAccountSignupV3Response) Status() string {}// StatusCode returns HTTPResponse.StatusCode-func (r CompleteAccountSignupV3Response) StatusCode() int {+func (r ListSecretsV4Response) StatusCode() int {if r.HTTPResponse != nil {return r.HTTPResponse.StatusCode}@@ -12300,144 +14142,216 @@ func (r CompleteAccountSignupV3Response) StatusCode() int {}// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r CompleteAccountSignupV3Response) ContentType() string {+func (r ListSecretsV4Response) ContentType() string {if r.HTTPResponse != nil {return r.HTTPResponse.Header.Get("Content-Type")}return ""}-type BeginEmailSignupV3Response struct {+type GetSecretByNameV4Response struct {Body []byteHTTPResponse *http.Response// JSON200 the response for an HTTP 200 `application/json` responseJSON200 *struct {- CooldownSeconds float32 `json:"cooldownSeconds"`- Message string `json:"message"`+ Secret struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretPath string `json:"secretPath"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Tags *[]struct {+ Color *string `json:"color,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"tags,omitempty"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secret"`}// JSON400 the response for an HTTP 400 `application/json` responseJSON400 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode BeginEmailSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByNameV4400JSONResponseBodyStatusCode `json:"statusCode"`}// JSON401 the response for an HTTP 401 `application/json` responseJSON401 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode BeginEmailSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByNameV4401JSONResponseBodyStatusCode `json:"statusCode"`}// JSON403 the response for an HTTP 403 `application/json` responseJSON403 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode BeginEmailSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByNameV4403JSONResponseBodyStatusCode `json:"statusCode"`}// JSON404 the response for an HTTP 404 `application/json` responseJSON404 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode BeginEmailSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByNameV4404JSONResponseBodyStatusCode `json:"statusCode"`}// JSON422 the response for an HTTP 422 `application/json` responseJSON422 *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode BeginEmailSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByNameV4422JSONResponseBodyStatusCode `json:"statusCode"`}// JSON500 the response for an HTTP 500 `application/json` responseJSON500 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode BeginEmailSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByNameV4500JSONResponseBodyStatusCode `json:"statusCode"`}}// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r BeginEmailSignupV3Response) GetJSON200() *struct {- CooldownSeconds float32 `json:"cooldownSeconds"`- Message string `json:"message"`+func (r GetSecretByNameV4Response) GetJSON200() *struct {+ Secret struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretPath string `json:"secretPath"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Tags *[]struct {+ Color *string `json:"color,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"tags,omitempty"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secret"`} {return r.JSON200}// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r BeginEmailSignupV3Response) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode BeginEmailSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`+func (r GetSecretByNameV4Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByNameV4400JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON400}// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r BeginEmailSignupV3Response) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode BeginEmailSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`+func (r GetSecretByNameV4Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByNameV4401JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON401}// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r BeginEmailSignupV3Response) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode BeginEmailSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`+func (r GetSecretByNameV4Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByNameV4403JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON403}// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r BeginEmailSignupV3Response) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode BeginEmailSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`+func (r GetSecretByNameV4Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByNameV4404JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON404}// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r BeginEmailSignupV3Response) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode BeginEmailSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`+func (r GetSecretByNameV4Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByNameV4422JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON422}// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r BeginEmailSignupV3Response) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode BeginEmailSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`+func (r GetSecretByNameV4Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByNameV4500JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON500}// GetBody returns the raw response body bytes-func (r BeginEmailSignupV3Response) GetBody() []byte {+func (r GetSecretByNameV4Response) GetBody() []byte {return r.Body}// Status returns HTTPResponse.Status-func (r BeginEmailSignupV3Response) Status() string {+func (r GetSecretByNameV4Response) Status() string {if r.HTTPResponse != nil {return r.HTTPResponse.Status}@@ -12445,7 +14359,7 @@ func (r BeginEmailSignupV3Response) Status() string {}// StatusCode returns HTTPResponse.StatusCode-func (r BeginEmailSignupV3Response) StatusCode() int {+func (r GetSecretByNameV4Response) StatusCode() int {if r.HTTPResponse != nil {return r.HTTPResponse.StatusCode}@@ -12453,164 +14367,138 @@ func (r BeginEmailSignupV3Response) StatusCode() int {}// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r BeginEmailSignupV3Response) ContentType() string {+func (r GetSecretByNameV4Response) ContentType() string {if r.HTTPResponse != nil {return r.HTTPResponse.Header.Get("Content-Type")}return ""}-type VerifyEmailSignupV3Response struct {+type CreateSecretV4Response struct {Body []byteHTTPResponse *http.Response// JSON200 the response for an HTTP 200 `application/json` response- JSON200 *struct {- Message string `json:"message"`- Token string `json:"token"`- User struct {- AuthMethods *[]string `json:"authMethods,omitempty"`- Email *string `json:"email,omitempty"`- FirstName *string `json:"firstName,omitempty"`- Id openapi_types.UUID `json:"id"`- IsEmailVerified *bool `json:"isEmailVerified,omitempty"`- LastName *string `json:"lastName,omitempty"`- PublicKey *string `json:"publicKey,omitempty"`- Username string `json:"username"`- } `json:"user"`- }+ JSON200 *CreateSecretV4200JSONResponseBody// JSON400 the response for an HTTP 400 `application/json` responseJSON400 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyEmailSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretV4400JSONResponseBodyStatusCode `json:"statusCode"`}// JSON401 the response for an HTTP 401 `application/json` responseJSON401 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyEmailSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretV4401JSONResponseBodyStatusCode `json:"statusCode"`}// JSON403 the response for an HTTP 403 `application/json` responseJSON403 *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyEmailSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretV4403JSONResponseBodyStatusCode `json:"statusCode"`}// JSON404 the response for an HTTP 404 `application/json` responseJSON404 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyEmailSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretV4404JSONResponseBodyStatusCode `json:"statusCode"`}// JSON422 the response for an HTTP 422 `application/json` responseJSON422 *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode VerifyEmailSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretV4422JSONResponseBodyStatusCode `json:"statusCode"`}// JSON500 the response for an HTTP 500 `application/json` responseJSON500 *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyEmailSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretV4500JSONResponseBodyStatusCode `json:"statusCode"`}}// GetJSON200 returns the response for an HTTP 200 `application/json` response-func (r VerifyEmailSignupV3Response) GetJSON200() *struct {- Message string `json:"message"`- Token string `json:"token"`- User struct {- AuthMethods *[]string `json:"authMethods,omitempty"`- Email *string `json:"email,omitempty"`- FirstName *string `json:"firstName,omitempty"`- Id openapi_types.UUID `json:"id"`- IsEmailVerified *bool `json:"isEmailVerified,omitempty"`- LastName *string `json:"lastName,omitempty"`- PublicKey *string `json:"publicKey,omitempty"`- Username string `json:"username"`- } `json:"user"`-} {+func (r CreateSecretV4Response) GetJSON200() *CreateSecretV4200JSONResponseBody {return r.JSON200}// GetJSON400 returns the response for an HTTP 400 `application/json` response-func (r VerifyEmailSignupV3Response) GetJSON400() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyEmailSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateSecretV4Response) GetJSON400() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretV4400JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON400}// GetJSON401 returns the response for an HTTP 401 `application/json` response-func (r VerifyEmailSignupV3Response) GetJSON401() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyEmailSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateSecretV4Response) GetJSON401() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretV4401JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON401}// GetJSON403 returns the response for an HTTP 403 `application/json` response-func (r VerifyEmailSignupV3Response) GetJSON403() *struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyEmailSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateSecretV4Response) GetJSON403() *struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretV4403JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON403}// GetJSON404 returns the response for an HTTP 404 `application/json` response-func (r VerifyEmailSignupV3Response) GetJSON404() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyEmailSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateSecretV4Response) GetJSON404() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretV4404JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON404}// GetJSON422 returns the response for an HTTP 422 `application/json` response-func (r VerifyEmailSignupV3Response) GetJSON422() *struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode VerifyEmailSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateSecretV4Response) GetJSON422() *struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretV4422JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON422}// GetJSON500 returns the response for an HTTP 500 `application/json` response-func (r VerifyEmailSignupV3Response) GetJSON500() *struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyEmailSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`+func (r CreateSecretV4Response) GetJSON500() *struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretV4500JSONResponseBodyStatusCode `json:"statusCode"`} {return r.JSON500}// GetBody returns the raw response body bytes-func (r VerifyEmailSignupV3Response) GetBody() []byte {+func (r CreateSecretV4Response) GetBody() []byte {return r.Body}// Status returns HTTPResponse.Status-func (r VerifyEmailSignupV3Response) Status() string {+func (r CreateSecretV4Response) Status() string {if r.HTTPResponse != nil {return r.HTTPResponse.Status}@@ -12618,7 +14506,7 @@ func (r VerifyEmailSignupV3Response) Status() string {}// StatusCode returns HTTPResponse.StatusCode-func (r VerifyEmailSignupV3Response) StatusCode() int {+func (r CreateSecretV4Response) StatusCode() int {if r.HTTPResponse != nil {return r.HTTPResponse.StatusCode}@@ -12626,7 +14514,7 @@ func (r VerifyEmailSignupV3Response) StatusCode() int {}// ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers-func (r VerifyEmailSignupV3Response) ContentType() string {+func (r CreateSecretV4Response) ContentType() string {if r.HTTPResponse != nil {return r.HTTPResponse.Header.Get("Content-Type")}@@ -12903,269 +14791,693 @@ func (c *ClientWithResponses) GetOrganizationPlanWithResponse(ctx context.Contex// Create a new project.//// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) CreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error) {- rsp, err := c.CreateProjectWithBody(ctx, contentType, body, reqEditors...)+func (c *ClientWithResponses) CreateProjectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error) {+ rsp, err := c.CreateProjectWithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateProjectResponse(rsp)+}++// CreateProjectWithResponse performs a POST /api/v1/projects (the `CreateProject` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Create a new project.+func (c *ClientWithResponses) CreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error) {+ rsp, err := c.CreateProject(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateProjectResponse(rsp)+}++// ListProjectMachineIdentitiesWithResponse performs a GET /api/v1/projects/{projectId}/identities (the `ListProjectMachineIdentities` operationId) request.+//+// List identities in a project.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) ListProjectMachineIdentitiesWithResponse(ctx context.Context, projectId string, params *ListProjectMachineIdentitiesParams, reqEditors ...RequestEditorFn) (*ListProjectMachineIdentitiesResponse, error) {+ rsp, err := c.ListProjectMachineIdentities(ctx, projectId, params, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseListProjectMachineIdentitiesResponse(rsp)+}++// CreateProjectMachineIdentityWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/identities (the `CreateProjectMachineIdentity` operationId) request,+// with any type of body and a specified content type.+//+// Create an identity in a project.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateProjectMachineIdentityWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectMachineIdentityResponse, error) {+ rsp, err := c.CreateProjectMachineIdentityWithBody(ctx, projectId, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateProjectMachineIdentityResponse(rsp)+}++// CreateProjectMachineIdentityWithResponse performs a POST /api/v1/projects/{projectId}/identities (the `CreateProjectMachineIdentity` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Create an identity in a project.+func (c *ClientWithResponses) CreateProjectMachineIdentityWithResponse(ctx context.Context, projectId string, body CreateProjectMachineIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectMachineIdentityResponse, error) {+ rsp, err := c.CreateProjectMachineIdentity(ctx, projectId, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateProjectMachineIdentityResponse(rsp)+}++// InviteProjectMembersWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/memberships (the `InviteProjectMembers` operationId) request,+// with any type of body and a specified content type.+//+// Invite members to project.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) InviteProjectMembersWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteProjectMembersResponse, error) {+ rsp, err := c.InviteProjectMembersWithBody(ctx, projectId, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseInviteProjectMembersResponse(rsp)+}++// InviteProjectMembersWithResponse performs a POST /api/v1/projects/{projectId}/memberships (the `InviteProjectMembers` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Invite members to project.+func (c *ClientWithResponses) InviteProjectMembersWithResponse(ctx context.Context, projectId string, body InviteProjectMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteProjectMembersResponse, error) {+ rsp, err := c.InviteProjectMembers(ctx, projectId, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseInviteProjectMembersResponse(rsp)+}++// CreateProjectIdentityMembershipWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId} (the `CreateProjectIdentityMembership` operationId) request,+// with any type of body and a specified content type.+//+// Create project identity membership.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateProjectIdentityMembershipWithBodyWithResponse(ctx context.Context, projectId string, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectIdentityMembershipResponse, error) {+ rsp, err := c.CreateProjectIdentityMembershipWithBody(ctx, projectId, identityId, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateProjectIdentityMembershipResponse(rsp)+}++// CreateProjectIdentityMembershipWithResponse performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId} (the `CreateProjectIdentityMembership` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+//+// Create project identity membership.+func (c *ClientWithResponses) CreateProjectIdentityMembershipWithResponse(ctx context.Context, projectId string, identityId string, body CreateProjectIdentityMembershipJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectIdentityMembershipResponse, error) {+ rsp, err := c.CreateProjectIdentityMembership(ctx, projectId, identityId, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateProjectIdentityMembershipResponse(rsp)+}++// CreateOrganizationWithBodyWithResponse performs a POST /api/v2/organizations (the `CreateOrganization` operationId) request,+// with any type of body and a specified content type.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error) {+ rsp, err := c.CreateOrganizationWithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateOrganizationResponse(rsp)+}++// CreateOrganizationWithResponse performs a POST /api/v2/organizations (the `CreateOrganization` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CreateOrganizationWithResponse(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error) {+ rsp, err := c.CreateOrganization(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCreateOrganizationResponse(rsp)+}++// DeleteOrganizationWithResponse performs a DELETE /api/v2/organizations/{organizationId} (the `DeleteOrganization` operationId) request.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) DeleteOrganizationWithResponse(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*DeleteOrganizationResponse, error) {+ rsp, err := c.DeleteOrganization(ctx, organizationId, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseDeleteOrganizationResponse(rsp)+}++// LoginV3WithBodyWithResponse performs a POST /api/v3/auth/login (the `LoginV3` operationId) request,+// with any type of body and a specified content type.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) LoginV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginV3Response, error) {+ rsp, err := c.LoginV3WithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseLoginV3Response(rsp)+}++// LoginV3WithResponse performs a POST /api/v3/auth/login (the `LoginV3` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) LoginV3WithResponse(ctx context.Context, body LoginV3JSONRequestBody, reqEditors ...RequestEditorFn) (*LoginV3Response, error) {+ rsp, err := c.LoginV3(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseLoginV3Response(rsp)+}++// SelectOrganizationV3WithBodyWithResponse performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request,+// with any type of body and a specified content type.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) SelectOrganizationV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelectOrganizationV3Response, error) {+ rsp, err := c.SelectOrganizationV3WithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseSelectOrganizationV3Response(rsp)+}++// SelectOrganizationV3WithResponse performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) SelectOrganizationV3WithResponse(ctx context.Context, body SelectOrganizationV3JSONRequestBody, reqEditors ...RequestEditorFn) (*SelectOrganizationV3Response, error) {+ rsp, err := c.SelectOrganizationV3(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseSelectOrganizationV3Response(rsp)+}++// CompleteAccountSignupV3WithBodyWithResponse performs a POST /api/v3/signup/complete-account (the `CompleteAccountSignupV3` operationId) request,+// with any type of body and a specified content type.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CompleteAccountSignupV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CompleteAccountSignupV3Response, error) {+ rsp, err := c.CompleteAccountSignupV3WithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCompleteAccountSignupV3Response(rsp)+}++// CompleteAccountSignupV3WithResponse performs a POST /api/v3/signup/complete-account (the `CompleteAccountSignupV3` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) CompleteAccountSignupV3WithResponse(ctx context.Context, body CompleteAccountSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*CompleteAccountSignupV3Response, error) {+ rsp, err := c.CompleteAccountSignupV3(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseCompleteAccountSignupV3Response(rsp)+}++// BeginEmailSignupV3WithBodyWithResponse performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request,+// with any type of body and a specified content type.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) BeginEmailSignupV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BeginEmailSignupV3Response, error) {+ rsp, err := c.BeginEmailSignupV3WithBody(ctx, contentType, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseBeginEmailSignupV3Response(rsp)+}++// BeginEmailSignupV3WithResponse performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request.+// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) BeginEmailSignupV3WithResponse(ctx context.Context, body BeginEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*BeginEmailSignupV3Response, error) {+ rsp, err := c.BeginEmailSignupV3(ctx, body, reqEditors...)+ if err != nil {+ return nil, err+ }+ return ParseBeginEmailSignupV3Response(rsp)+}++// VerifyEmailSignupV3WithBodyWithResponse performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request,+// with any type of body and a specified content type.+//+// Returns a wrapper object for the known response body format(s).+func (c *ClientWithResponses) VerifyEmailSignupV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyEmailSignupV3Response, error) {+ rsp, err := c.VerifyEmailSignupV3WithBody(ctx, contentType, body, reqEditors...)if err != nil {return nil, err}- return ParseCreateProjectResponse(rsp)+ return ParseVerifyEmailSignupV3Response(rsp)}-// CreateProjectWithResponse performs a POST /api/v1/projects (the `CreateProject` operationId) request.+// VerifyEmailSignupV3WithResponse performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request.// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-//-// Create a new project.-func (c *ClientWithResponses) CreateProjectWithResponse(ctx context.Context, body CreateProjectJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectResponse, error) {- rsp, err := c.CreateProject(ctx, body, reqEditors...)+func (c *ClientWithResponses) VerifyEmailSignupV3WithResponse(ctx context.Context, body VerifyEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyEmailSignupV3Response, error) {+ rsp, err := c.VerifyEmailSignupV3(ctx, body, reqEditors...)if err != nil {return nil, err}- return ParseCreateProjectResponse(rsp)+ return ParseVerifyEmailSignupV3Response(rsp)}-// ListProjectMachineIdentitiesWithResponse performs a GET /api/v1/projects/{projectId}/identities (the `ListProjectMachineIdentities` operationId) request.+// ListSecretsV4WithResponse performs a GET /api/v4/secrets (the `ListSecretsV4` operationId) request.//-// List identities in a project.+// List secrets.//// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) ListProjectMachineIdentitiesWithResponse(ctx context.Context, projectId string, params *ListProjectMachineIdentitiesParams, reqEditors ...RequestEditorFn) (*ListProjectMachineIdentitiesResponse, error) {- rsp, err := c.ListProjectMachineIdentities(ctx, projectId, params, reqEditors...)+func (c *ClientWithResponses) ListSecretsV4WithResponse(ctx context.Context, params *ListSecretsV4Params, reqEditors ...RequestEditorFn) (*ListSecretsV4Response, error) {+ rsp, err := c.ListSecretsV4(ctx, params, reqEditors...)if err != nil {return nil, err}- return ParseListProjectMachineIdentitiesResponse(rsp)+ return ParseListSecretsV4Response(rsp)}-// CreateProjectMachineIdentityWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/identities (the `CreateProjectMachineIdentity` operationId) request,-// with any type of body and a specified content type.+// GetSecretByNameV4WithResponse performs a GET /api/v4/secrets/{secretName} (the `GetSecretByNameV4` operationId) request.//-// Create an identity in a project.+// Get a secret by name.//// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) CreateProjectMachineIdentityWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectMachineIdentityResponse, error) {- rsp, err := c.CreateProjectMachineIdentityWithBody(ctx, projectId, contentType, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseCreateProjectMachineIdentityResponse(rsp)-}--// CreateProjectMachineIdentityWithResponse performs a POST /api/v1/projects/{projectId}/identities (the `CreateProjectMachineIdentity` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-//-// Create an identity in a project.-func (c *ClientWithResponses) CreateProjectMachineIdentityWithResponse(ctx context.Context, projectId string, body CreateProjectMachineIdentityJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectMachineIdentityResponse, error) {- rsp, err := c.CreateProjectMachineIdentity(ctx, projectId, body, reqEditors...)+func (c *ClientWithResponses) GetSecretByNameV4WithResponse(ctx context.Context, secretName string, params *GetSecretByNameV4Params, reqEditors ...RequestEditorFn) (*GetSecretByNameV4Response, error) {+ rsp, err := c.GetSecretByNameV4(ctx, secretName, params, reqEditors...)if err != nil {return nil, err}- return ParseCreateProjectMachineIdentityResponse(rsp)+ return ParseGetSecretByNameV4Response(rsp)}-// InviteProjectMembersWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/memberships (the `InviteProjectMembers` operationId) request,+// CreateSecretV4WithBodyWithResponse performs a POST /api/v4/secrets/{secretName} (the `CreateSecretV4` operationId) request,// with any type of body and a specified content type.//-// Invite members to project.+// Create secret.//// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) InviteProjectMembersWithBodyWithResponse(ctx context.Context, projectId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InviteProjectMembersResponse, error) {- rsp, err := c.InviteProjectMembersWithBody(ctx, projectId, contentType, body, reqEditors...)+func (c *ClientWithResponses) CreateSecretV4WithBodyWithResponse(ctx context.Context, secretName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSecretV4Response, error) {+ rsp, err := c.CreateSecretV4WithBody(ctx, secretName, contentType, body, reqEditors...)if err != nil {return nil, err}- return ParseInviteProjectMembersResponse(rsp)+ return ParseCreateSecretV4Response(rsp)}-// InviteProjectMembersWithResponse performs a POST /api/v1/projects/{projectId}/memberships (the `InviteProjectMembers` operationId) request.+// CreateSecretV4WithResponse performs a POST /api/v4/secrets/{secretName} (the `CreateSecretV4` operationId) request.// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).//-// Invite members to project.-func (c *ClientWithResponses) InviteProjectMembersWithResponse(ctx context.Context, projectId string, body InviteProjectMembersJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteProjectMembersResponse, error) {- rsp, err := c.InviteProjectMembers(ctx, projectId, body, reqEditors...)+// Create secret.+func (c *ClientWithResponses) CreateSecretV4WithResponse(ctx context.Context, secretName string, body CreateSecretV4JSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSecretV4Response, error) {+ rsp, err := c.CreateSecretV4(ctx, secretName, body, reqEditors...)if err != nil {return nil, err}- return ParseInviteProjectMembersResponse(rsp)+ return ParseCreateSecretV4Response(rsp)}-// CreateProjectIdentityMembershipWithBodyWithResponse performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId} (the `CreateProjectIdentityMembership` operationId) request,-// with any type of body and a specified content type.-//-// Create project identity membership.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) CreateProjectIdentityMembershipWithBodyWithResponse(ctx context.Context, projectId string, identityId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProjectIdentityMembershipResponse, error) {- rsp, err := c.CreateProjectIdentityMembershipWithBody(ctx, projectId, identityId, contentType, body, reqEditors...)+// ParseGetServerStatusResponse parses an HTTP response from a GetServerStatusWithResponse call+func ParseGetServerStatusResponse(rsp *http.Response) (*GetServerStatusResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- return ParseCreateProjectIdentityMembershipResponse(rsp)++ response := &GetServerStatusResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ AuditLogStorageDisabled *bool `json:"auditLogStorageDisabled,omitempty"`+ Date time.Time `json:"date"`+ EmailConfigured *bool `json:"emailConfigured,omitempty"`+ InviteOnlySignup *bool `json:"inviteOnlySignup,omitempty"`+ MaxIdentityAccessTokenTTL *float32 `json:"maxIdentityAccessTokenTTL,omitempty"`+ Message *string `json:"message,omitempty"`+ RedisConfigured *bool `json:"redisConfigured,omitempty"`+ SamlDefaultOrgSlug *string `json:"samlDefaultOrgSlug,omitempty"`+ SecretScanningConfigured *bool `json:"secretScanningConfigured,omitempty"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON200 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:+ var dest struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetServerStatus400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON400 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetServerStatus401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON401 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:+ var dest struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetServerStatus403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON403 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetServerStatus404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON404 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:+ var dest struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetServerStatus422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON422 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetServerStatus500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest++ }++ return response, nil}-// CreateProjectIdentityMembershipWithResponse performs a POST /api/v1/projects/{projectId}/memberships/identities/{identityId} (the `CreateProjectIdentityMembership` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-//-// Create project identity membership.-func (c *ClientWithResponses) CreateProjectIdentityMembershipWithResponse(ctx context.Context, projectId string, identityId string, body CreateProjectIdentityMembershipJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProjectIdentityMembershipResponse, error) {- rsp, err := c.CreateProjectIdentityMembership(ctx, projectId, identityId, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseCreateProjectIdentityMembershipResponse(rsp)-}+// ParseAdminBootstrapResponse parses an HTTP response from a AdminBootstrapWithResponse call+func ParseAdminBootstrapResponse(rsp *http.Response) (*AdminBootstrapResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()+ if err != nil {+ return nil, err+ }++ response := &AdminBootstrapResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ Identity struct {+ Credentials struct {+ Token string `json:"token"`+ } `json:"credentials"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ } `json:"identity"`+ Message string `json:"message"`+ Organization struct {+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"organization"`+ User struct {+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ Id openapi_types.UUID `json:"id"`+ LastName *string `json:"lastName,omitempty"`+ SuperAdmin *bool `json:"superAdmin,omitempty"`+ Username string `json:"username"`+ } `json:"user"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON200 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:+ var dest struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AdminBootstrap400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON400 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AdminBootstrap401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON401 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:+ var dest struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AdminBootstrap403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON403 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AdminBootstrap404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON404 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:+ var dest struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode AdminBootstrap422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON422 = &dest-// CreateOrganizationWithBodyWithResponse performs a POST /api/v2/organizations (the `CreateOrganization` operationId) request,-// with any type of body and a specified content type.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) CreateOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error) {- rsp, err := c.CreateOrganizationWithBody(ctx, contentType, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseCreateOrganizationResponse(rsp)-}+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AdminBootstrap500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest-// CreateOrganizationWithResponse performs a POST /api/v2/organizations (the `CreateOrganization` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) CreateOrganizationWithResponse(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationResponse, error) {- rsp, err := c.CreateOrganization(ctx, body, reqEditors...)- if err != nil {- return nil, err}- return ParseCreateOrganizationResponse(rsp)-}-// DeleteOrganizationWithResponse performs a DELETE /api/v2/organizations/{organizationId} (the `DeleteOrganization` operationId) request.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) DeleteOrganizationWithResponse(ctx context.Context, organizationId string, reqEditors ...RequestEditorFn) (*DeleteOrganizationResponse, error) {- rsp, err := c.DeleteOrganization(ctx, organizationId, reqEditors...)- if err != nil {- return nil, err- }- return ParseDeleteOrganizationResponse(rsp)+ return response, nil}-// LoginV3WithBodyWithResponse performs a POST /api/v3/auth/login (the `LoginV3` operationId) request,-// with any type of body and a specified content type.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) LoginV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LoginV3Response, error) {- rsp, err := c.LoginV3WithBody(ctx, contentType, body, reqEditors...)+// ParseUpdateAdminConfigResponse parses an HTTP response from a UpdateAdminConfigWithResponse call+func ParseUpdateAdminConfigResponse(rsp *http.Response) (*UpdateAdminConfigResponse, error) {+ bodyBytes, err := io.ReadAll(rsp.Body)+ defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- return ParseLoginV3Response(rsp)-}-// LoginV3WithResponse performs a POST /api/v3/auth/login (the `LoginV3` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) LoginV3WithResponse(ctx context.Context, body LoginV3JSONRequestBody, reqEditors ...RequestEditorFn) (*LoginV3Response, error) {- rsp, err := c.LoginV3(ctx, body, reqEditors...)- if err != nil {- return nil, err+ response := &UpdateAdminConfigResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,}- return ParseLoginV3Response(rsp)-}-// SelectOrganizationV3WithBodyWithResponse performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request,-// with any type of body and a specified content type.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) SelectOrganizationV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelectOrganizationV3Response, error) {- rsp, err := c.SelectOrganizationV3WithBody(ctx, contentType, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseSelectOrganizationV3Response(rsp)-}+ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ Config struct {+ AdminIdentityIds *[]string `json:"adminIdentityIds,omitempty"`+ AllowSignUp *bool `json:"allowSignUp,omitempty"`+ AllowedSignUpDomain *string `json:"allowedSignUpDomain,omitempty"`+ AuthConsentContent *string `json:"authConsentContent,omitempty"`+ CreatedAt *time.Time `json:"createdAt,omitempty"`+ DefaultAuthOrgAuthEnforced *bool `json:"defaultAuthOrgAuthEnforced,omitempty"`+ DefaultAuthOrgAuthMethod *string `json:"defaultAuthOrgAuthMethod,omitempty"`+ DefaultAuthOrgId *openapi_types.UUID `json:"defaultAuthOrgId,omitempty"`+ DefaultAuthOrgSlug *string `json:"defaultAuthOrgSlug"`+ EnabledLoginMethods *[]string `json:"enabledLoginMethods,omitempty"`+ FipsEnabled *bool `json:"fipsEnabled,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Initialized *bool `json:"initialized,omitempty"`+ InstanceId *openapi_types.UUID `json:"instanceId,omitempty"`+ IsClickhouseAuditLogEnabled *bool `json:"isClickhouseAuditLogEnabled,omitempty"`+ IsMigrationModeOn *bool `json:"isMigrationModeOn,omitempty"`+ IsOfflineUsageReportsEnabled *bool `json:"isOfflineUsageReportsEnabled,omitempty"`+ IsPublicSecretSharingDisabled *bool `json:"isPublicSecretSharingDisabled,omitempty"`+ IsSecretScanningDisabled *bool `json:"isSecretScanningDisabled,omitempty"`+ KubernetesAutoFetchServiceAccountToken *bool `json:"kubernetesAutoFetchServiceAccountToken,omitempty"`+ LatestAvailableVersion *string `json:"latestAvailableVersion,omitempty"`+ OnboardingCompleted *bool `json:"onboardingCompleted,omitempty"`+ PageFrameContent *string `json:"pageFrameContent,omitempty"`+ ParamsFolderSecretDetectionEnabled *bool `json:"paramsFolderSecretDetectionEnabled,omitempty"`+ PasswordPolicy struct {+ Requirements []struct {+ Code string `json:"code"`+ Flags *string `json:"flags,omitempty"`+ IsPrimary bool `json:"isPrimary"`+ MaxConsecutiveCharacters *int `json:"maxConsecutiveCharacters,omitempty"`+ Message string `json:"message"`+ Patterns []string `json:"patterns"`+ ShouldMatch bool `json:"shouldMatch"`+ ValidationMessage string `json:"validationMessage"`+ } `json:"requirements"`+ } `json:"passwordPolicy"`+ TrustLdapEmails *bool `json:"trustLdapEmails,omitempty"`+ } `json:"config"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON200 = &dest-// SelectOrganizationV3WithResponse performs a POST /api/v3/auth/select-organization (the `SelectOrganizationV3` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) SelectOrganizationV3WithResponse(ctx context.Context, body SelectOrganizationV3JSONRequestBody, reqEditors ...RequestEditorFn) (*SelectOrganizationV3Response, error) {- rsp, err := c.SelectOrganizationV3(ctx, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseSelectOrganizationV3Response(rsp)-}+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:+ var dest struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAdminConfig400JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON400 = &dest-// CompleteAccountSignupV3WithBodyWithResponse performs a POST /api/v3/signup/complete-account (the `CompleteAccountSignupV3` operationId) request,-// with any type of body and a specified content type.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) CompleteAccountSignupV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CompleteAccountSignupV3Response, error) {- rsp, err := c.CompleteAccountSignupV3WithBody(ctx, contentType, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseCompleteAccountSignupV3Response(rsp)-}+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAdminConfig401JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON401 = &dest-// CompleteAccountSignupV3WithResponse performs a POST /api/v3/signup/complete-account (the `CompleteAccountSignupV3` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) CompleteAccountSignupV3WithResponse(ctx context.Context, body CompleteAccountSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*CompleteAccountSignupV3Response, error) {- rsp, err := c.CompleteAccountSignupV3(ctx, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseCompleteAccountSignupV3Response(rsp)-}+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:+ var dest struct {+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAdminConfig403JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON403 = &dest-// BeginEmailSignupV3WithBodyWithResponse performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request,-// with any type of body and a specified content type.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) BeginEmailSignupV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BeginEmailSignupV3Response, error) {- rsp, err := c.BeginEmailSignupV3WithBody(ctx, contentType, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseBeginEmailSignupV3Response(rsp)-}+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAdminConfig404JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON404 = &dest-// BeginEmailSignupV3WithResponse performs a POST /api/v3/signup/email/signup (the `BeginEmailSignupV3` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) BeginEmailSignupV3WithResponse(ctx context.Context, body BeginEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*BeginEmailSignupV3Response, error) {- rsp, err := c.BeginEmailSignupV3(ctx, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseBeginEmailSignupV3Response(rsp)-}+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:+ var dest struct {+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAdminConfig422JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON422 = &dest++ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode UpdateAdminConfig500JSONResponseBodyStatusCode `json:"statusCode"`+ }+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON500 = &dest-// VerifyEmailSignupV3WithBodyWithResponse performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request,-// with any type of body and a specified content type.-//-// Returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) VerifyEmailSignupV3WithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyEmailSignupV3Response, error) {- rsp, err := c.VerifyEmailSignupV3WithBody(ctx, contentType, body, reqEditors...)- if err != nil {- return nil, err}- return ParseVerifyEmailSignupV3Response(rsp)-}-// VerifyEmailSignupV3WithResponse performs a POST /api/v3/signup/email/verify (the `VerifyEmailSignupV3` operationId) request.-// Takes a body of the `application/json` content type, and returns a wrapper object for the known response body format(s).-func (c *ClientWithResponses) VerifyEmailSignupV3WithResponse(ctx context.Context, body VerifyEmailSignupV3JSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyEmailSignupV3Response, error) {- rsp, err := c.VerifyEmailSignupV3(ctx, body, reqEditors...)- if err != nil {- return nil, err- }- return ParseVerifyEmailSignupV3Response(rsp)+ return response, nil}-// ParseGetServerStatusResponse parses an HTTP response from a GetServerStatusWithResponse call-func ParseGetServerStatusResponse(rsp *http.Response) (*GetServerStatusResponse, error) {+// ParseCreateGitHubAppConnectionResponse parses an HTTP response from a CreateGitHubAppConnectionWithResponse call+func ParseCreateGitHubAppConnectionResponse(rsp *http.Response) (*CreateGitHubAppConnectionResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &GetServerStatusResponse{+ response := &CreateGitHubAppConnectionResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -13173,15 +15485,7 @@ func ParseGetServerStatusResponse(rsp *http.Response) (*GetServerStatusResponse,switch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- AuditLogStorageDisabled *bool `json:"auditLogStorageDisabled,omitempty"`- Date time.Time `json:"date"`- EmailConfigured *bool `json:"emailConfigured,omitempty"`- InviteOnlySignup *bool `json:"inviteOnlySignup,omitempty"`- MaxIdentityAccessTokenTTL *float32 `json:"maxIdentityAccessTokenTTL,omitempty"`- Message *string `json:"message,omitempty"`- RedisConfigured *bool `json:"redisConfigured,omitempty"`- SamlDefaultOrgSlug *string `json:"samlDefaultOrgSlug,omitempty"`- SecretScanningConfigured *bool `json:"secretScanningConfigured,omitempty"`+ AppConnection CreateGitHubAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13190,11 +15494,11 @@ func ParseGetServerStatusResponse(rsp *http.Response) (*GetServerStatusResponse,case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetServerStatus400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13203,10 +15507,10 @@ func ParseGetServerStatusResponse(rsp *http.Response) (*GetServerStatusResponse,case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetServerStatus401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13215,11 +15519,11 @@ func ParseGetServerStatusResponse(rsp *http.Response) (*GetServerStatusResponse,case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetServerStatus403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13228,10 +15532,10 @@ func ParseGetServerStatusResponse(rsp *http.Response) (*GetServerStatusResponse,case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetServerStatus404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13240,10 +15544,10 @@ func ParseGetServerStatusResponse(rsp *http.Response) (*GetServerStatusResponse,case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:var dest struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode GetServerStatus422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13252,10 +15556,10 @@ func ParseGetServerStatusResponse(rsp *http.Response) (*GetServerStatusResponse,case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetServerStatus500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateGitHubAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13267,15 +15571,15 @@ func ParseGetServerStatusResponse(rsp *http.Response) (*GetServerStatusResponse,return response, nil}-// ParseAdminBootstrapResponse parses an HTTP response from a AdminBootstrapWithResponse call-func ParseAdminBootstrapResponse(rsp *http.Response) (*AdminBootstrapResponse, error) {+// ParseDeleteGitHubAppConnectionResponse parses an HTTP response from a DeleteGitHubAppConnectionWithResponse call+func ParseDeleteGitHubAppConnectionResponse(rsp *http.Response) (*DeleteGitHubAppConnectionResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &AdminBootstrapResponse{+ response := &DeleteGitHubAppConnectionResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -13283,27 +15587,7 @@ func ParseAdminBootstrapResponse(rsp *http.Response) (*AdminBootstrapResponse, eswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- Identity struct {- Credentials struct {- Token string `json:"token"`- } `json:"credentials"`- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- } `json:"identity"`- Message string `json:"message"`- Organization struct {- Id openapi_types.UUID `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"organization"`- User struct {- Email *string `json:"email,omitempty"`- FirstName *string `json:"firstName,omitempty"`- Id openapi_types.UUID `json:"id"`- LastName *string `json:"lastName,omitempty"`- SuperAdmin *bool `json:"superAdmin,omitempty"`- Username string `json:"username"`- } `json:"user"`+ AppConnection DeleteGitHubAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13312,11 +15596,11 @@ func ParseAdminBootstrapResponse(rsp *http.Response) (*AdminBootstrapResponse, ecase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AdminBootstrap400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13325,10 +15609,10 @@ func ParseAdminBootstrapResponse(rsp *http.Response) (*AdminBootstrapResponse, ecase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AdminBootstrap401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13337,11 +15621,11 @@ func ParseAdminBootstrapResponse(rsp *http.Response) (*AdminBootstrapResponse, ecase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AdminBootstrap403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13350,10 +15634,10 @@ func ParseAdminBootstrapResponse(rsp *http.Response) (*AdminBootstrapResponse, ecase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AdminBootstrap404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13362,10 +15646,10 @@ func ParseAdminBootstrapResponse(rsp *http.Response) (*AdminBootstrapResponse, ecase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:var dest struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode AdminBootstrap422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13374,10 +15658,10 @@ func ParseAdminBootstrapResponse(rsp *http.Response) (*AdminBootstrapResponse, ecase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AdminBootstrap500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteGitHubAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13389,15 +15673,15 @@ func ParseAdminBootstrapResponse(rsp *http.Response) (*AdminBootstrapResponse, ereturn response, nil}-// ParseUpdateAdminConfigResponse parses an HTTP response from a UpdateAdminConfigWithResponse call-func ParseUpdateAdminConfigResponse(rsp *http.Response) (*UpdateAdminConfigResponse, error) {+// ParseRefreshAuthTokenResponse parses an HTTP response from a RefreshAuthTokenWithResponse call+func ParseRefreshAuthTokenResponse(rsp *http.Response) (*RefreshAuthTokenResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &UpdateAdminConfigResponse{+ response := &RefreshAuthTokenResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -13405,45 +15689,10 @@ func ParseUpdateAdminConfigResponse(rsp *http.Response) (*UpdateAdminConfigResposwitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- Config struct {- AdminIdentityIds *[]string `json:"adminIdentityIds,omitempty"`- AllowSignUp *bool `json:"allowSignUp,omitempty"`- AllowedSignUpDomain *string `json:"allowedSignUpDomain,omitempty"`- AuthConsentContent *string `json:"authConsentContent,omitempty"`- CreatedAt *time.Time `json:"createdAt,omitempty"`- DefaultAuthOrgAuthEnforced *bool `json:"defaultAuthOrgAuthEnforced,omitempty"`- DefaultAuthOrgAuthMethod *string `json:"defaultAuthOrgAuthMethod,omitempty"`- DefaultAuthOrgId *openapi_types.UUID `json:"defaultAuthOrgId,omitempty"`- DefaultAuthOrgSlug *string `json:"defaultAuthOrgSlug"`- EnabledLoginMethods *[]string `json:"enabledLoginMethods,omitempty"`- FipsEnabled *bool `json:"fipsEnabled,omitempty"`- Id openapi_types.UUID `json:"id"`- Initialized *bool `json:"initialized,omitempty"`- InstanceId *openapi_types.UUID `json:"instanceId,omitempty"`- IsClickhouseAuditLogEnabled *bool `json:"isClickhouseAuditLogEnabled,omitempty"`- IsMigrationModeOn *bool `json:"isMigrationModeOn,omitempty"`- IsOfflineUsageReportsEnabled *bool `json:"isOfflineUsageReportsEnabled,omitempty"`- IsPublicSecretSharingDisabled *bool `json:"isPublicSecretSharingDisabled,omitempty"`- IsSecretScanningDisabled *bool `json:"isSecretScanningDisabled,omitempty"`- KubernetesAutoFetchServiceAccountToken *bool `json:"kubernetesAutoFetchServiceAccountToken,omitempty"`- LatestAvailableVersion *string `json:"latestAvailableVersion,omitempty"`- OnboardingCompleted *bool `json:"onboardingCompleted,omitempty"`- PageFrameContent *string `json:"pageFrameContent,omitempty"`- ParamsFolderSecretDetectionEnabled *bool `json:"paramsFolderSecretDetectionEnabled,omitempty"`- PasswordPolicy struct {- Requirements []struct {- Code string `json:"code"`- Flags *string `json:"flags,omitempty"`- IsPrimary bool `json:"isPrimary"`- MaxConsecutiveCharacters *int `json:"maxConsecutiveCharacters,omitempty"`- Message string `json:"message"`- Patterns []string `json:"patterns"`- ShouldMatch bool `json:"shouldMatch"`- ValidationMessage string `json:"validationMessage"`- } `json:"requirements"`- } `json:"passwordPolicy"`- TrustLdapEmails *bool `json:"trustLdapEmails,omitempty"`- } `json:"config"`+ OrganizationId *string `json:"organizationId,omitempty"`+ RefreshToken *string `json:"refreshToken,omitempty"`+ SubOrganizationId *string `json:"subOrganizationId,omitempty"`+ Token string `json:"token"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13452,11 +15701,11 @@ func ParseUpdateAdminConfigResponse(rsp *http.Response) (*UpdateAdminConfigRespocase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode UpdateAdminConfig400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RefreshAuthToken400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13465,10 +15714,10 @@ func ParseUpdateAdminConfigResponse(rsp *http.Response) (*UpdateAdminConfigRespocase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode UpdateAdminConfig401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RefreshAuthToken401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13477,11 +15726,11 @@ func ParseUpdateAdminConfigResponse(rsp *http.Response) (*UpdateAdminConfigRespocase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode UpdateAdminConfig403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RefreshAuthToken403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13490,10 +15739,10 @@ func ParseUpdateAdminConfigResponse(rsp *http.Response) (*UpdateAdminConfigRespocase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode UpdateAdminConfig404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RefreshAuthToken404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13502,10 +15751,10 @@ func ParseUpdateAdminConfigResponse(rsp *http.Response) (*UpdateAdminConfigRespocase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:var dest struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode UpdateAdminConfig422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode RefreshAuthToken422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13514,10 +15763,10 @@ func ParseUpdateAdminConfigResponse(rsp *http.Response) (*UpdateAdminConfigRespocase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode UpdateAdminConfig500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode RefreshAuthToken500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13529,15 +15778,15 @@ func ParseUpdateAdminConfigResponse(rsp *http.Response) (*UpdateAdminConfigResporeturn response, nil}-// ParseCreateGitHubAppConnectionResponse parses an HTTP response from a CreateGitHubAppConnectionWithResponse call-func ParseCreateGitHubAppConnectionResponse(rsp *http.Response) (*CreateGitHubAppConnectionResponse, error) {+// ParseAttachUniversalAuthResponse parses an HTTP response from a AttachUniversalAuthWithResponse call+func ParseAttachUniversalAuthResponse(rsp *http.Response) (*AttachUniversalAuthResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &CreateGitHubAppConnectionResponse{+ response := &AttachUniversalAuthResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -13545,7 +15794,23 @@ func ParseCreateGitHubAppConnectionResponse(rsp *http.Response) (*CreateGitHubApswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- AppConnection CreateGitHubAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+ IdentityUniversalAuth struct {+ AccessTokenMaxTTL *float32 `json:"accessTokenMaxTTL,omitempty"`+ AccessTokenNumUsesLimit *float32 `json:"accessTokenNumUsesLimit,omitempty"`+ AccessTokenPeriod *float32 `json:"accessTokenPeriod,omitempty"`+ AccessTokenTTL *float32 `json:"accessTokenTTL,omitempty"`+ AccessTokenTrustedIps interface{} `json:"accessTokenTrustedIps,omitempty"`+ ClientId string `json:"clientId"`+ ClientSecretTrustedIps interface{} `json:"clientSecretTrustedIps,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ IdentityId openapi_types.UUID `json:"identityId"`+ LockoutCounterResetSeconds *float32 `json:"lockoutCounterResetSeconds,omitempty"`+ LockoutDurationSeconds *float32 `json:"lockoutDurationSeconds,omitempty"`+ LockoutEnabled *bool `json:"lockoutEnabled,omitempty"`+ LockoutThreshold *float32 `json:"lockoutThreshold,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identityUniversalAuth"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13554,11 +15819,11 @@ func ParseCreateGitHubAppConnectionResponse(rsp *http.Response) (*CreateGitHubApcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AttachUniversalAuth400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13567,10 +15832,10 @@ func ParseCreateGitHubAppConnectionResponse(rsp *http.Response) (*CreateGitHubApcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AttachUniversalAuth401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13579,11 +15844,11 @@ func ParseCreateGitHubAppConnectionResponse(rsp *http.Response) (*CreateGitHubApcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AttachUniversalAuth403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13592,10 +15857,10 @@ func ParseCreateGitHubAppConnectionResponse(rsp *http.Response) (*CreateGitHubApcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AttachUniversalAuth404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13604,10 +15869,10 @@ func ParseCreateGitHubAppConnectionResponse(rsp *http.Response) (*CreateGitHubApcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:var dest struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode AttachUniversalAuth422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13616,10 +15881,10 @@ func ParseCreateGitHubAppConnectionResponse(rsp *http.Response) (*CreateGitHubApcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateGitHubAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode AttachUniversalAuth500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13631,15 +15896,15 @@ func ParseCreateGitHubAppConnectionResponse(rsp *http.Response) (*CreateGitHubApreturn response, nil}-// ParseDeleteGitHubAppConnectionResponse parses an HTTP response from a DeleteGitHubAppConnectionWithResponse call-func ParseDeleteGitHubAppConnectionResponse(rsp *http.Response) (*DeleteGitHubAppConnectionResponse, error) {+// ParseCreateUniversalAuthClientSecretResponse parses an HTTP response from a CreateUniversalAuthClientSecretWithResponse call+func ParseCreateUniversalAuthClientSecretResponse(rsp *http.Response) (*CreateUniversalAuthClientSecretResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &DeleteGitHubAppConnectionResponse{+ response := &CreateUniversalAuthClientSecretResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -13647,7 +15912,19 @@ func ParseDeleteGitHubAppConnectionResponse(rsp *http.Response) (*DeleteGitHubApswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- AppConnection DeleteGitHubAppConnection200JSONResponseBody_AppConnection `json:"appConnection"`+ ClientSecret string `json:"clientSecret"`+ ClientSecretData struct {+ ClientSecretNumUses *float32 `json:"clientSecretNumUses,omitempty"`+ ClientSecretNumUsesLimit *float32 `json:"clientSecretNumUsesLimit,omitempty"`+ ClientSecretPrefix string `json:"clientSecretPrefix"`+ ClientSecretTTL *float32 `json:"clientSecretTTL,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Description string `json:"description"`+ Id string `json:"id"`+ IdentityUAId openapi_types.UUID `json:"identityUAId"`+ IsClientSecretRevoked *bool `json:"isClientSecretRevoked,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"clientSecretData"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13656,11 +15933,11 @@ func ParseDeleteGitHubAppConnectionResponse(rsp *http.Response) (*DeleteGitHubApcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubAppConnection400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateUniversalAuthClientSecret400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13669,10 +15946,10 @@ func ParseDeleteGitHubAppConnectionResponse(rsp *http.Response) (*DeleteGitHubApcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubAppConnection401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateUniversalAuthClientSecret401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13681,11 +15958,11 @@ func ParseDeleteGitHubAppConnectionResponse(rsp *http.Response) (*DeleteGitHubApcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubAppConnection403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateUniversalAuthClientSecret403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13694,10 +15971,10 @@ func ParseDeleteGitHubAppConnectionResponse(rsp *http.Response) (*DeleteGitHubApcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubAppConnection404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateUniversalAuthClientSecret404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13706,10 +15983,10 @@ func ParseDeleteGitHubAppConnectionResponse(rsp *http.Response) (*DeleteGitHubApcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:var dest struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubAppConnection422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateUniversalAuthClientSecret422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13718,10 +15995,10 @@ func ParseDeleteGitHubAppConnectionResponse(rsp *http.Response) (*DeleteGitHubApcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteGitHubAppConnection500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateUniversalAuthClientSecret500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13733,15 +16010,15 @@ func ParseDeleteGitHubAppConnectionResponse(rsp *http.Response) (*DeleteGitHubApreturn response, nil}-// ParseRefreshAuthTokenResponse parses an HTTP response from a RefreshAuthTokenWithResponse call-func ParseRefreshAuthTokenResponse(rsp *http.Response) (*RefreshAuthTokenResponse, error) {+// ParseLoginWithUniversalAuthResponse parses an HTTP response from a LoginWithUniversalAuthWithResponse call+func ParseLoginWithUniversalAuthResponse(rsp *http.Response) (*LoginWithUniversalAuthResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &RefreshAuthTokenResponse{+ response := &LoginWithUniversalAuthResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -13749,10 +16026,10 @@ func ParseRefreshAuthTokenResponse(rsp *http.Response) (*RefreshAuthTokenResponsswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- OrganizationId *string `json:"organizationId,omitempty"`- RefreshToken *string `json:"refreshToken,omitempty"`- SubOrganizationId *string `json:"subOrganizationId,omitempty"`- Token string `json:"token"`+ AccessToken string `json:"accessToken"`+ AccessTokenMaxTTL float32 `json:"accessTokenMaxTTL"`+ ExpiresIn float32 `json:"expiresIn"`+ TokenType LoginWithUniversalAuth200JSONResponseBodyTokenType `json:"tokenType"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13761,11 +16038,11 @@ func ParseRefreshAuthTokenResponse(rsp *http.Response) (*RefreshAuthTokenResponscase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode RefreshAuthToken400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginWithUniversalAuth400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13774,10 +16051,10 @@ func ParseRefreshAuthTokenResponse(rsp *http.Response) (*RefreshAuthTokenResponscase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode RefreshAuthToken401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginWithUniversalAuth401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13786,11 +16063,11 @@ func ParseRefreshAuthTokenResponse(rsp *http.Response) (*RefreshAuthTokenResponscase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode RefreshAuthToken403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginWithUniversalAuth403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13799,10 +16076,10 @@ func ParseRefreshAuthTokenResponse(rsp *http.Response) (*RefreshAuthTokenResponscase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode RefreshAuthToken404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginWithUniversalAuth404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13811,10 +16088,10 @@ func ParseRefreshAuthTokenResponse(rsp *http.Response) (*RefreshAuthTokenResponscase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:var dest struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode RefreshAuthToken422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode LoginWithUniversalAuth422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13823,10 +16100,10 @@ func ParseRefreshAuthTokenResponse(rsp *http.Response) (*RefreshAuthTokenResponscase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode RefreshAuthToken500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginWithUniversalAuth500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13838,39 +16115,38 @@ func ParseRefreshAuthTokenResponse(rsp *http.Response) (*RefreshAuthTokenResponsreturn response, nil}-// ParseAttachUniversalAuthResponse parses an HTTP response from a AttachUniversalAuthWithResponse call-func ParseAttachUniversalAuthResponse(rsp *http.Response) (*AttachUniversalAuthResponse, error) {+// ParseCreateMachineIdentityResponse parses an HTTP response from a CreateMachineIdentityWithResponse call+func ParseCreateMachineIdentityResponse(rsp *http.Response) (*CreateMachineIdentityResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &AttachUniversalAuthResponse{+ response := &CreateMachineIdentityResponse{Body: bodyBytes,HTTPResponse: rsp,}switch {- case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:- var dest struct {- IdentityUniversalAuth struct {- AccessTokenMaxTTL *float32 `json:"accessTokenMaxTTL,omitempty"`- AccessTokenNumUsesLimit *float32 `json:"accessTokenNumUsesLimit,omitempty"`- AccessTokenPeriod *float32 `json:"accessTokenPeriod,omitempty"`- AccessTokenTTL *float32 `json:"accessTokenTTL,omitempty"`- AccessTokenTrustedIps interface{} `json:"accessTokenTrustedIps,omitempty"`- ClientId string `json:"clientId"`- ClientSecretTrustedIps interface{} `json:"clientSecretTrustedIps,omitempty"`- CreatedAt time.Time `json:"createdAt"`- Id openapi_types.UUID `json:"id"`- IdentityId openapi_types.UUID `json:"identityId"`- LockoutCounterResetSeconds *float32 `json:"lockoutCounterResetSeconds,omitempty"`- LockoutDurationSeconds *float32 `json:"lockoutDurationSeconds,omitempty"`- LockoutEnabled *bool `json:"lockoutEnabled,omitempty"`- LockoutThreshold *float32 `json:"lockoutThreshold,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identityUniversalAuth"`+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ Identity struct {+ AuthMethod *string `json:"authMethod,omitempty"`+ AuthMethods []string `json:"authMethods"`+ CreatedAt time.Time `json:"createdAt"`+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Metadata []struct {+ Id string `json:"id"`+ Key string `json:"key"`+ Value string `json:"value"`+ } `json:"metadata"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ ProjectId *string `json:"projectId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identity"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13879,11 +16155,11 @@ func ParseAttachUniversalAuthResponse(rsp *http.Response) (*AttachUniversalAuthRcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AttachUniversalAuth400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateMachineIdentity400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13892,10 +16168,10 @@ func ParseAttachUniversalAuthResponse(rsp *http.Response) (*AttachUniversalAuthRcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AttachUniversalAuth401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateMachineIdentity401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13904,11 +16180,11 @@ func ParseAttachUniversalAuthResponse(rsp *http.Response) (*AttachUniversalAuthRcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AttachUniversalAuth403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateMachineIdentity403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13917,10 +16193,10 @@ func ParseAttachUniversalAuthResponse(rsp *http.Response) (*AttachUniversalAuthRcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AttachUniversalAuth404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateMachineIdentity404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13929,10 +16205,10 @@ func ParseAttachUniversalAuthResponse(rsp *http.Response) (*AttachUniversalAuthRcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:var dest struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode AttachUniversalAuth422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateMachineIdentity422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13941,10 +16217,10 @@ func ParseAttachUniversalAuthResponse(rsp *http.Response) (*AttachUniversalAuthRcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode AttachUniversalAuth500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateMachineIdentity500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13956,15 +16232,15 @@ func ParseAttachUniversalAuthResponse(rsp *http.Response) (*AttachUniversalAuthRreturn response, nil}-// ParseCreateUniversalAuthClientSecretResponse parses an HTTP response from a CreateUniversalAuthClientSecretWithResponse call-func ParseCreateUniversalAuthClientSecretResponse(rsp *http.Response) (*CreateUniversalAuthClientSecretResponse, error) {+// ParseInviteUsersToOrganizationResponse parses an HTTP response from a InviteUsersToOrganizationWithResponse call+func ParseInviteUsersToOrganizationResponse(rsp *http.Response) (*InviteUsersToOrganizationResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &CreateUniversalAuthClientSecretResponse{+ response := &InviteUsersToOrganizationResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -13972,19 +16248,16 @@ func ParseCreateUniversalAuthClientSecretResponse(rsp *http.Response) (*CreateUnswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- ClientSecret string `json:"clientSecret"`- ClientSecretData struct {- ClientSecretNumUses *float32 `json:"clientSecretNumUses,omitempty"`- ClientSecretNumUsesLimit *float32 `json:"clientSecretNumUsesLimit,omitempty"`- ClientSecretPrefix string `json:"clientSecretPrefix"`- ClientSecretTTL *float32 `json:"clientSecretTTL,omitempty"`- CreatedAt time.Time `json:"createdAt"`- Description string `json:"description"`- Id string `json:"id"`- IdentityUAId openapi_types.UUID `json:"identityUAId"`- IsClientSecretRevoked *bool `json:"isClientSecretRevoked,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"clientSecretData"`+ CompleteInviteLinks *[]struct {+ Email string `json:"email"`+ Link string `json:"link"`+ } `json:"completeInviteLinks,omitempty"`+ GrantFailures *struct {+ AgentVaultAccess bool `json:"agentVaultAccess"`+ PamAccess bool `json:"pamAccess"`+ ProjectIds []string `json:"projectIds"`+ } `json:"grantFailures,omitempty"`+ Message string `json:"message"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -13993,11 +16266,11 @@ func ParseCreateUniversalAuthClientSecretResponse(rsp *http.Response) (*CreateUncase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateUniversalAuthClientSecret400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteUsersToOrganization400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14006,10 +16279,10 @@ func ParseCreateUniversalAuthClientSecretResponse(rsp *http.Response) (*CreateUncase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateUniversalAuthClientSecret401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteUsersToOrganization401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14018,11 +16291,11 @@ func ParseCreateUniversalAuthClientSecretResponse(rsp *http.Response) (*CreateUncase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateUniversalAuthClientSecret403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteUsersToOrganization403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14031,10 +16304,10 @@ func ParseCreateUniversalAuthClientSecretResponse(rsp *http.Response) (*CreateUncase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateUniversalAuthClientSecret404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteUsersToOrganization404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14043,10 +16316,10 @@ func ParseCreateUniversalAuthClientSecretResponse(rsp *http.Response) (*CreateUncase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:var dest struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateUniversalAuthClientSecret422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode InviteUsersToOrganization422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14055,10 +16328,10 @@ func ParseCreateUniversalAuthClientSecretResponse(rsp *http.Response) (*CreateUncase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateUniversalAuthClientSecret500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteUsersToOrganization500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14070,15 +16343,15 @@ func ParseCreateUniversalAuthClientSecretResponse(rsp *http.Response) (*CreateUnreturn response, nil}-// ParseLoginWithUniversalAuthResponse parses an HTTP response from a LoginWithUniversalAuthWithResponse call-func ParseLoginWithUniversalAuthResponse(rsp *http.Response) (*LoginWithUniversalAuthResponse, error) {+// ParseVerifyUserToOrganizationResponse parses an HTTP response from a VerifyUserToOrganizationWithResponse call+func ParseVerifyUserToOrganizationResponse(rsp *http.Response) (*VerifyUserToOrganizationResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &LoginWithUniversalAuthResponse{+ response := &VerifyUserToOrganizationResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -14086,10 +16359,11 @@ func ParseLoginWithUniversalAuthResponse(rsp *http.Response) (*LoginWithUniversaswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- AccessToken string `json:"accessToken"`- AccessTokenMaxTTL float32 `json:"accessTokenMaxTTL"`- ExpiresIn float32 `json:"expiresIn"`- TokenType LoginWithUniversalAuth200JSONResponseBodyTokenType `json:"tokenType"`+ Message string `json:"message"`++ // OrganizationName Name of the organization associated with the verified invitation+ OrganizationName string `json:"organizationName"`+ Token *string `json:"token,omitempty"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14098,11 +16372,11 @@ func ParseLoginWithUniversalAuthResponse(rsp *http.Response) (*LoginWithUniversacase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginWithUniversalAuth400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyUserToOrganization400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14111,10 +16385,10 @@ func ParseLoginWithUniversalAuthResponse(rsp *http.Response) (*LoginWithUniversacase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginWithUniversalAuth401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyUserToOrganization401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14123,11 +16397,11 @@ func ParseLoginWithUniversalAuthResponse(rsp *http.Response) (*LoginWithUniversacase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginWithUniversalAuth403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyUserToOrganization403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14136,10 +16410,10 @@ func ParseLoginWithUniversalAuthResponse(rsp *http.Response) (*LoginWithUniversacase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginWithUniversalAuth404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyUserToOrganization404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14148,10 +16422,10 @@ func ParseLoginWithUniversalAuthResponse(rsp *http.Response) (*LoginWithUniversacase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:var dest struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode LoginWithUniversalAuth422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode VerifyUserToOrganization422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14160,10 +16434,10 @@ func ParseLoginWithUniversalAuthResponse(rsp *http.Response) (*LoginWithUniversacase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginWithUniversalAuth500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyUserToOrganization500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14175,15 +16449,15 @@ func ParseLoginWithUniversalAuthResponse(rsp *http.Response) (*LoginWithUniversareturn response, nil}-// ParseCreateMachineIdentityResponse parses an HTTP response from a CreateMachineIdentityWithResponse call-func ParseCreateMachineIdentityResponse(rsp *http.Response) (*CreateMachineIdentityResponse, error) {+// ParseGetOrganizationPlanResponse parses an HTTP response from a GetOrganizationPlanWithResponse call+func ParseGetOrganizationPlanResponse(rsp *http.Response) (*GetOrganizationPlanResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &CreateMachineIdentityResponse{+ response := &GetOrganizationPlanResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -14191,22 +16465,7 @@ func ParseCreateMachineIdentityResponse(rsp *http.Response) (*CreateMachineIdentswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- Identity struct {- AuthMethod *string `json:"authMethod,omitempty"`- AuthMethods []string `json:"authMethods"`- CreatedAt time.Time `json:"createdAt"`- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- Id openapi_types.UUID `json:"id"`- Metadata []struct {- Id string `json:"id"`- Key string `json:"key"`- Value string `json:"value"`- } `json:"metadata"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- ProjectId *string `json:"projectId,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identity"`+ Plan interface{} `json:"plan,omitempty"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14215,11 +16474,11 @@ func ParseCreateMachineIdentityResponse(rsp *http.Response) (*CreateMachineIdentcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateMachineIdentity400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetOrganizationPlan400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14227,11 +16486,11 @@ func ParseCreateMachineIdentityResponse(rsp *http.Response) (*CreateMachineIdentresponse.JSON400 = &destcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:- var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateMachineIdentity401JSONResponseBodyStatusCode `json:"statusCode"`+ var dest struct {+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetOrganizationPlan401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14240,11 +16499,11 @@ func ParseCreateMachineIdentityResponse(rsp *http.Response) (*CreateMachineIdentcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateMachineIdentity403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetOrganizationPlan403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14253,10 +16512,10 @@ func ParseCreateMachineIdentityResponse(rsp *http.Response) (*CreateMachineIdentcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateMachineIdentity404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetOrganizationPlan404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14265,10 +16524,10 @@ func ParseCreateMachineIdentityResponse(rsp *http.Response) (*CreateMachineIdentcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:var dest struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateMachineIdentity422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetOrganizationPlan422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14277,10 +16536,10 @@ func ParseCreateMachineIdentityResponse(rsp *http.Response) (*CreateMachineIdentcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateMachineIdentity500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetOrganizationPlan500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14292,15 +16551,15 @@ func ParseCreateMachineIdentityResponse(rsp *http.Response) (*CreateMachineIdentreturn response, nil}-// ParseInviteUsersToOrganizationResponse parses an HTTP response from a InviteUsersToOrganizationWithResponse call-func ParseInviteUsersToOrganizationResponse(rsp *http.Response) (*InviteUsersToOrganizationResponse, error) {+// ParseCreateProjectResponse parses an HTTP response from a CreateProjectWithResponse call+func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &InviteUsersToOrganizationResponse{+ response := &CreateProjectResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -14308,16 +16567,43 @@ func ParseInviteUsersToOrganizationResponse(rsp *http.Response) (*InviteUsersToOswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- CompleteInviteLinks *[]struct {- Email string `json:"email"`- Link string `json:"link"`- } `json:"completeInviteLinks,omitempty"`- GrantFailures *struct {- AgentVaultAccess bool `json:"agentVaultAccess"`- PamAccess bool `json:"pamAccess"`- ProjectIds []string `json:"projectIds"`- } `json:"grantFailures,omitempty"`- Message string `json:"message"`+ Project struct {+ UnderscoreId string `json:"_id"`+ AuditLogsRetentionDays *float32 `json:"auditLogsRetentionDays,omitempty"`+ AutoCapitalization *bool `json:"autoCapitalization,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ DefaultProduct *string `json:"defaultProduct,omitempty"`+ DeletedEnvironments []struct {+ DeleteAfter time.Time `json:"deleteAfter"`+ DeletedBy *CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy `json:"deletedBy"`+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ SoftDeletedAt time.Time `json:"softDeletedAt"`+ } `json:"deletedEnvironments"`+ Description *string `json:"description,omitempty"`+ EnforceEncryptedSecretManagerSecretMetadata *bool `json:"enforceEncryptedSecretManagerSecretMetadata,omitempty"`+ Environments []struct {+ Id string `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"environments"`+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ Id string `json:"id"`+ IsLegacyAdditionalPrivilegesEnabled *bool `json:"isLegacyAdditionalPrivilegesEnabled,omitempty"`+ KmsCertificateKeyId *openapi_types.UUID `json:"kmsCertificateKeyId,omitempty"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ PitVersionLimit *float32 `json:"pitVersionLimit,omitempty"`+ SecretDetectionIgnoreValues *[]string `json:"secretDetectionIgnoreValues,omitempty"`+ SecretSharing *bool `json:"secretSharing,omitempty"`+ ShowSnapshotsLegacy *bool `json:"showSnapshotsLegacy,omitempty"`+ Slug string `json:"slug"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ UpgradeStatus *string `json:"upgradeStatus,omitempty"`+ Version *float32 `json:"version,omitempty"`+ } `json:"project"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14326,11 +16612,11 @@ func ParseInviteUsersToOrganizationResponse(rsp *http.Response) (*InviteUsersToOcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteUsersToOrganization400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProject400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14339,10 +16625,10 @@ func ParseInviteUsersToOrganizationResponse(rsp *http.Response) (*InviteUsersToOcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteUsersToOrganization401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProject401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14351,11 +16637,11 @@ func ParseInviteUsersToOrganizationResponse(rsp *http.Response) (*InviteUsersToOcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteUsersToOrganization403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProject403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14364,10 +16650,10 @@ func ParseInviteUsersToOrganizationResponse(rsp *http.Response) (*InviteUsersToOcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteUsersToOrganization404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProject404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14376,10 +16662,10 @@ func ParseInviteUsersToOrganizationResponse(rsp *http.Response) (*InviteUsersToOcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:var dest struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode InviteUsersToOrganization422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateProject422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14388,10 +16674,10 @@ func ParseInviteUsersToOrganizationResponse(rsp *http.Response) (*InviteUsersToOcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteUsersToOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProject500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14403,15 +16689,15 @@ func ParseInviteUsersToOrganizationResponse(rsp *http.Response) (*InviteUsersToOreturn response, nil}-// ParseVerifyUserToOrganizationResponse parses an HTTP response from a VerifyUserToOrganizationWithResponse call-func ParseVerifyUserToOrganizationResponse(rsp *http.Response) (*VerifyUserToOrganizationResponse, error) {+// ParseListProjectMachineIdentitiesResponse parses an HTTP response from a ListProjectMachineIdentitiesWithResponse call+func ParseListProjectMachineIdentitiesResponse(rsp *http.Response) (*ListProjectMachineIdentitiesResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &VerifyUserToOrganizationResponse{+ response := &ListProjectMachineIdentitiesResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -14419,11 +16705,23 @@ func ParseVerifyUserToOrganizationResponse(rsp *http.Response) (*VerifyUserToOrgswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- Message string `json:"message"`-- // OrganizationName Name of the organization associated with the verified invitation- OrganizationName string `json:"organizationName"`- Token *string `json:"token,omitempty"`+ Identities []struct {+ ActiveLockoutAuthMethods *[]string `json:"activeLockoutAuthMethods,omitempty"`+ AuthMethods *[]string `json:"authMethods,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Metadata *[]struct {+ Id string `json:"id"`+ Key string `json:"key"`+ Value string `json:"value"`+ } `json:"metadata,omitempty"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ ProjectId *string `json:"projectId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identities"`+ TotalCount float32 `json:"totalCount"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14432,11 +16730,11 @@ func ParseVerifyUserToOrganizationResponse(rsp *http.Response) (*VerifyUserToOrgcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyUserToOrganization400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListProjectMachineIdentities400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14445,10 +16743,10 @@ func ParseVerifyUserToOrganizationResponse(rsp *http.Response) (*VerifyUserToOrgcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyUserToOrganization401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListProjectMachineIdentities401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14457,11 +16755,11 @@ func ParseVerifyUserToOrganizationResponse(rsp *http.Response) (*VerifyUserToOrgcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyUserToOrganization403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListProjectMachineIdentities403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14470,10 +16768,10 @@ func ParseVerifyUserToOrganizationResponse(rsp *http.Response) (*VerifyUserToOrgcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyUserToOrganization404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListProjectMachineIdentities404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14482,10 +16780,10 @@ func ParseVerifyUserToOrganizationResponse(rsp *http.Response) (*VerifyUserToOrgcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:var dest struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode VerifyUserToOrganization422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode ListProjectMachineIdentities422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14494,10 +16792,10 @@ func ParseVerifyUserToOrganizationResponse(rsp *http.Response) (*VerifyUserToOrgcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyUserToOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListProjectMachineIdentities500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14509,15 +16807,15 @@ func ParseVerifyUserToOrganizationResponse(rsp *http.Response) (*VerifyUserToOrgreturn response, nil}-// ParseGetOrganizationPlanResponse parses an HTTP response from a GetOrganizationPlanWithResponse call-func ParseGetOrganizationPlanResponse(rsp *http.Response) (*GetOrganizationPlanResponse, error) {+// ParseCreateProjectMachineIdentityResponse parses an HTTP response from a CreateProjectMachineIdentityWithResponse call+func ParseCreateProjectMachineIdentityResponse(rsp *http.Response) (*CreateProjectMachineIdentityResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &GetOrganizationPlanResponse{+ response := &CreateProjectMachineIdentityResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -14525,7 +16823,22 @@ func ParseGetOrganizationPlanResponse(rsp *http.Response) (*GetOrganizationPlanRswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- Plan interface{} `json:"plan,omitempty"`+ Identity struct {+ ActiveLockoutAuthMethods *[]string `json:"activeLockoutAuthMethods,omitempty"`+ AuthMethods *[]string `json:"authMethods,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Metadata *[]struct {+ Id string `json:"id"`+ Key string `json:"key"`+ Value string `json:"value"`+ } `json:"metadata,omitempty"`+ Name string `json:"name"`+ OrgId openapi_types.UUID `json:"orgId"`+ ProjectId *string `json:"projectId,omitempty"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identity"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14534,11 +16847,11 @@ func ParseGetOrganizationPlanResponse(rsp *http.Response) (*GetOrganizationPlanRcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetOrganizationPlan400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectMachineIdentity400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14547,10 +16860,10 @@ func ParseGetOrganizationPlanResponse(rsp *http.Response) (*GetOrganizationPlanRcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetOrganizationPlan401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectMachineIdentity401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14559,11 +16872,11 @@ func ParseGetOrganizationPlanResponse(rsp *http.Response) (*GetOrganizationPlanRcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetOrganizationPlan403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectMachineIdentity403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14572,10 +16885,10 @@ func ParseGetOrganizationPlanResponse(rsp *http.Response) (*GetOrganizationPlanRcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetOrganizationPlan404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectMachineIdentity404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14584,10 +16897,10 @@ func ParseGetOrganizationPlanResponse(rsp *http.Response) (*GetOrganizationPlanRcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:var dest struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode GetOrganizationPlan422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectMachineIdentity422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14596,10 +16909,10 @@ func ParseGetOrganizationPlanResponse(rsp *http.Response) (*GetOrganizationPlanRcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode GetOrganizationPlan500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectMachineIdentity500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14611,15 +16924,15 @@ func ParseGetOrganizationPlanResponse(rsp *http.Response) (*GetOrganizationPlanRreturn response, nil}-// ParseCreateProjectResponse parses an HTTP response from a CreateProjectWithResponse call-func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, error) {+// ParseInviteProjectMembersResponse parses an HTTP response from a InviteProjectMembersWithResponse call+func ParseInviteProjectMembersResponse(rsp *http.Response) (*InviteProjectMembersResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &CreateProjectResponse{+ response := &InviteProjectMembersResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -14627,43 +16940,13 @@ func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, errswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- Project struct {- UnderscoreId string `json:"_id"`- AuditLogsRetentionDays *float32 `json:"auditLogsRetentionDays,omitempty"`- AutoCapitalization *bool `json:"autoCapitalization,omitempty"`- CreatedAt time.Time `json:"createdAt"`- DefaultProduct *string `json:"defaultProduct,omitempty"`- DeletedEnvironments []struct {- DeleteAfter time.Time `json:"deleteAfter"`- DeletedBy *CreateProject200JSONResponseBody_Project_DeletedEnvironments_DeletedBy `json:"deletedBy"`- Id string `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- SoftDeletedAt time.Time `json:"softDeletedAt"`- } `json:"deletedEnvironments"`- Description *string `json:"description,omitempty"`- EnforceEncryptedSecretManagerSecretMetadata *bool `json:"enforceEncryptedSecretManagerSecretMetadata,omitempty"`- Environments []struct {- Id string `json:"id"`- Name string `json:"name"`- Slug string `json:"slug"`- } `json:"environments"`- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- Id string `json:"id"`- IsLegacyAdditionalPrivilegesEnabled *bool `json:"isLegacyAdditionalPrivilegesEnabled,omitempty"`- KmsCertificateKeyId *openapi_types.UUID `json:"kmsCertificateKeyId,omitempty"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- PitVersionLimit *float32 `json:"pitVersionLimit,omitempty"`- SecretDetectionIgnoreValues *[]string `json:"secretDetectionIgnoreValues,omitempty"`- SecretSharing *bool `json:"secretSharing,omitempty"`- ShowSnapshotsLegacy *bool `json:"showSnapshotsLegacy,omitempty"`- Slug string `json:"slug"`- Type string `json:"type"`- UpdatedAt time.Time `json:"updatedAt"`- UpgradeStatus *string `json:"upgradeStatus,omitempty"`- Version *float32 `json:"version,omitempty"`- } `json:"project"`+ Memberships []struct {+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ ProjectId string `json:"projectId"`+ UpdatedAt time.Time `json:"updatedAt"`+ UserId openapi_types.UUID `json:"userId"`+ } `json:"memberships"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14672,11 +16955,11 @@ func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, errcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProject400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteProjectMembers400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14685,10 +16968,10 @@ func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, errcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProject401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteProjectMembers401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14697,11 +16980,11 @@ func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, errcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProject403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteProjectMembers403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14710,10 +16993,10 @@ func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, errcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProject404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteProjectMembers404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14722,10 +17005,10 @@ func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, errcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:var dest struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateProject422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode InviteProjectMembers422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14734,10 +17017,10 @@ func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, errcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProject500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode InviteProjectMembers500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14749,15 +17032,15 @@ func ParseCreateProjectResponse(rsp *http.Response) (*CreateProjectResponse, errreturn response, nil}-// ParseListProjectMachineIdentitiesResponse parses an HTTP response from a ListProjectMachineIdentitiesWithResponse call-func ParseListProjectMachineIdentitiesResponse(rsp *http.Response) (*ListProjectMachineIdentitiesResponse, error) {+// ParseCreateProjectIdentityMembershipResponse parses an HTTP response from a CreateProjectIdentityMembershipWithResponse call+func ParseCreateProjectIdentityMembershipResponse(rsp *http.Response) (*CreateProjectIdentityMembershipResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &ListProjectMachineIdentitiesResponse{+ response := &CreateProjectIdentityMembershipResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -14765,23 +17048,13 @@ func ParseListProjectMachineIdentitiesResponse(rsp *http.Response) (*ListProjectswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- Identities []struct {- ActiveLockoutAuthMethods *[]string `json:"activeLockoutAuthMethods,omitempty"`- AuthMethods *[]string `json:"authMethods,omitempty"`- CreatedAt time.Time `json:"createdAt"`- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- Id openapi_types.UUID `json:"id"`- Metadata *[]struct {- Id string `json:"id"`- Key string `json:"key"`- Value string `json:"value"`- } `json:"metadata,omitempty"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- ProjectId *string `json:"projectId,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identities"`- TotalCount float32 `json:"totalCount"`+ IdentityMembership struct {+ CreatedAt time.Time `json:"createdAt"`+ Id openapi_types.UUID `json:"id"`+ IdentityId openapi_types.UUID `json:"identityId"`+ ProjectId string `json:"projectId"`+ UpdatedAt time.Time `json:"updatedAt"`+ } `json:"identityMembership"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14790,11 +17063,11 @@ func ParseListProjectMachineIdentitiesResponse(rsp *http.Response) (*ListProjectcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode ListProjectMachineIdentities400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectIdentityMembership400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14803,10 +17076,10 @@ func ParseListProjectMachineIdentitiesResponse(rsp *http.Response) (*ListProjectcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode ListProjectMachineIdentities401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectIdentityMembership401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14815,11 +17088,11 @@ func ParseListProjectMachineIdentitiesResponse(rsp *http.Response) (*ListProjectcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode ListProjectMachineIdentities403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectIdentityMembership403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14828,10 +17101,10 @@ func ParseListProjectMachineIdentitiesResponse(rsp *http.Response) (*ListProjectcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode ListProjectMachineIdentities404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectIdentityMembership404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14840,10 +17113,10 @@ func ParseListProjectMachineIdentitiesResponse(rsp *http.Response) (*ListProjectcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:var dest struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode ListProjectMachineIdentities422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectIdentityMembership422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14852,10 +17125,10 @@ func ParseListProjectMachineIdentitiesResponse(rsp *http.Response) (*ListProjectcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode ListProjectMachineIdentities500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateProjectIdentityMembership500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14867,38 +17140,55 @@ func ParseListProjectMachineIdentitiesResponse(rsp *http.Response) (*ListProjectreturn response, nil}-// ParseCreateProjectMachineIdentityResponse parses an HTTP response from a CreateProjectMachineIdentityWithResponse call-func ParseCreateProjectMachineIdentityResponse(rsp *http.Response) (*CreateProjectMachineIdentityResponse, error) {+// ParseCreateOrganizationResponse parses an HTTP response from a CreateOrganizationWithResponse call+func ParseCreateOrganizationResponse(rsp *http.Response) (*CreateOrganizationResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &CreateProjectMachineIdentityResponse{- Body: bodyBytes,- HTTPResponse: rsp,- }-- switch {- case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:- var dest struct {- Identity struct {- ActiveLockoutAuthMethods *[]string `json:"activeLockoutAuthMethods,omitempty"`- AuthMethods *[]string `json:"authMethods,omitempty"`- CreatedAt time.Time `json:"createdAt"`- HasDeleteProtection *bool `json:"hasDeleteProtection,omitempty"`- Id openapi_types.UUID `json:"id"`- Metadata *[]struct {- Id string `json:"id"`- Key string `json:"key"`- Value string `json:"value"`- } `json:"metadata,omitempty"`- Name string `json:"name"`- OrgId openapi_types.UUID `json:"orgId"`- ProjectId *string `json:"projectId,omitempty"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identity"`+ response := &CreateOrganizationResponse{+ Body: bodyBytes,+ HTTPResponse: rsp,+ }++ switch {+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:+ var dest struct {+ Organization struct {+ AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`+ AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`+ AuthEnforced *bool `json:"authEnforced,omitempty"`+ BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`+ BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ CustomerId *string `json:"customerId,omitempty"`+ DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`+ EnforceMfa *bool `json:"enforceMfa,omitempty"`+ GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`+ Id openapi_types.UUID `json:"id"`+ KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`+ KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`+ MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`+ MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`+ Name string `json:"name"`+ ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`+ PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`+ PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`+ PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`+ RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`+ ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`+ ScimEnabled *bool `json:"scimEnabled,omitempty"`+ SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`+ SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`+ SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`+ ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`+ ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`+ Slug string `json:"slug"`+ UpdatedAt time.Time `json:"updatedAt"`+ UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`+ } `json:"organization"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14907,11 +17197,11 @@ func ParseCreateProjectMachineIdentityResponse(rsp *http.Response) (*CreateProjecase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectMachineIdentity400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14920,10 +17210,10 @@ func ParseCreateProjectMachineIdentityResponse(rsp *http.Response) (*CreateProjecase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectMachineIdentity401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14932,11 +17222,11 @@ func ParseCreateProjectMachineIdentityResponse(rsp *http.Response) (*CreateProjecase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectMachineIdentity403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14945,10 +17235,10 @@ func ParseCreateProjectMachineIdentityResponse(rsp *http.Response) (*CreateProjecase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectMachineIdentity404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14957,10 +17247,10 @@ func ParseCreateProjectMachineIdentityResponse(rsp *http.Response) (*CreateProjecase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:var dest struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateProjectMachineIdentity422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14969,10 +17259,10 @@ func ParseCreateProjectMachineIdentityResponse(rsp *http.Response) (*CreateProjecase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectMachineIdentity500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateOrganization500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -14984,15 +17274,15 @@ func ParseCreateProjectMachineIdentityResponse(rsp *http.Response) (*CreateProjereturn response, nil}-// ParseInviteProjectMembersResponse parses an HTTP response from a InviteProjectMembersWithResponse call-func ParseInviteProjectMembersResponse(rsp *http.Response) (*InviteProjectMembersResponse, error) {+// ParseDeleteOrganizationResponse parses an HTTP response from a DeleteOrganizationWithResponse call+func ParseDeleteOrganizationResponse(rsp *http.Response) (*DeleteOrganizationResponse, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &InviteProjectMembersResponse{+ response := &DeleteOrganizationResponse{Body: bodyBytes,HTTPResponse: rsp,}@@ -15000,13 +17290,40 @@ func ParseInviteProjectMembersResponse(rsp *http.Response) (*InviteProjectMemberswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- Memberships []struct {- CreatedAt time.Time `json:"createdAt"`- Id openapi_types.UUID `json:"id"`- ProjectId string `json:"projectId"`- UpdatedAt time.Time `json:"updatedAt"`- UserId openapi_types.UUID `json:"userId"`- } `json:"memberships"`+ AccessToken string `json:"accessToken"`+ Organization struct {+ AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`+ AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`+ AuthEnforced *bool `json:"authEnforced,omitempty"`+ BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`+ BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ CustomerId *string `json:"customerId,omitempty"`+ DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`+ EnforceMfa *bool `json:"enforceMfa,omitempty"`+ GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`+ Id openapi_types.UUID `json:"id"`+ KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`+ KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`+ MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`+ MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`+ Name string `json:"name"`+ ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`+ PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`+ PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`+ PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`+ RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`+ ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`+ ScimEnabled *bool `json:"scimEnabled,omitempty"`+ SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`+ SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`+ SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`+ ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`+ ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`+ Slug string `json:"slug"`+ UpdatedAt time.Time `json:"updatedAt"`+ UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`+ } `json:"organization"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15015,11 +17332,11 @@ func ParseInviteProjectMembersResponse(rsp *http.Response) (*InviteProjectMembercase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteProjectMembers400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15028,10 +17345,10 @@ func ParseInviteProjectMembersResponse(rsp *http.Response) (*InviteProjectMembercase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteProjectMembers401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15040,11 +17357,11 @@ func ParseInviteProjectMembersResponse(rsp *http.Response) (*InviteProjectMembercase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteProjectMembers403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15053,10 +17370,10 @@ func ParseInviteProjectMembersResponse(rsp *http.Response) (*InviteProjectMembercase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteProjectMembers404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15065,10 +17382,10 @@ func ParseInviteProjectMembersResponse(rsp *http.Response) (*InviteProjectMembercase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:var dest struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode InviteProjectMembers422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15077,10 +17394,10 @@ func ParseInviteProjectMembersResponse(rsp *http.Response) (*InviteProjectMembercase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode InviteProjectMembers500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode DeleteOrganization500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15092,15 +17409,15 @@ func ParseInviteProjectMembersResponse(rsp *http.Response) (*InviteProjectMemberreturn response, nil}-// ParseCreateProjectIdentityMembershipResponse parses an HTTP response from a CreateProjectIdentityMembershipWithResponse call-func ParseCreateProjectIdentityMembershipResponse(rsp *http.Response) (*CreateProjectIdentityMembershipResponse, error) {+// ParseLoginV3Response parses an HTTP response from a LoginV3WithResponse call+func ParseLoginV3Response(rsp *http.Response) (*LoginV3Response, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &CreateProjectIdentityMembershipResponse{+ response := &LoginV3Response{Body: bodyBytes,HTTPResponse: rsp,}@@ -15108,13 +17425,7 @@ func ParseCreateProjectIdentityMembershipResponse(rsp *http.Response) (*CreatePrswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- IdentityMembership struct {- CreatedAt time.Time `json:"createdAt"`- Id openapi_types.UUID `json:"id"`- IdentityId openapi_types.UUID `json:"identityId"`- ProjectId string `json:"projectId"`- UpdatedAt time.Time `json:"updatedAt"`- } `json:"identityMembership"`+ AccessToken string `json:"accessToken"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15123,11 +17434,11 @@ func ParseCreateProjectIdentityMembershipResponse(rsp *http.Response) (*CreatePrcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectIdentityMembership400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15136,10 +17447,10 @@ func ParseCreateProjectIdentityMembershipResponse(rsp *http.Response) (*CreatePrcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectIdentityMembership401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15148,11 +17459,11 @@ func ParseCreateProjectIdentityMembershipResponse(rsp *http.Response) (*CreatePrcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectIdentityMembership403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15161,10 +17472,10 @@ func ParseCreateProjectIdentityMembershipResponse(rsp *http.Response) (*CreatePrcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectIdentityMembership404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15173,10 +17484,10 @@ func ParseCreateProjectIdentityMembershipResponse(rsp *http.Response) (*CreatePrcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:var dest struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateProjectIdentityMembership422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15185,10 +17496,10 @@ func ParseCreateProjectIdentityMembershipResponse(rsp *http.Response) (*CreatePrcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateProjectIdentityMembership500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode LoginV3500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15200,15 +17511,15 @@ func ParseCreateProjectIdentityMembershipResponse(rsp *http.Response) (*CreatePrreturn response, nil}-// ParseCreateOrganizationResponse parses an HTTP response from a CreateOrganizationWithResponse call-func ParseCreateOrganizationResponse(rsp *http.Response) (*CreateOrganizationResponse, error) {+// ParseSelectOrganizationV3Response parses an HTTP response from a SelectOrganizationV3WithResponse call+func ParseSelectOrganizationV3Response(rsp *http.Response) (*SelectOrganizationV3Response, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &CreateOrganizationResponse{+ response := &SelectOrganizationV3Response{Body: bodyBytes,HTTPResponse: rsp,}@@ -15216,39 +17527,9 @@ func ParseCreateOrganizationResponse(rsp *http.Response) (*CreateOrganizationResswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- Organization struct {- AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`- AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`- AuthEnforced *bool `json:"authEnforced,omitempty"`- BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`- BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`- CreatedAt time.Time `json:"createdAt"`- CustomerId *string `json:"customerId,omitempty"`- DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`- EnforceMfa *bool `json:"enforceMfa,omitempty"`- GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`- Id openapi_types.UUID `json:"id"`- KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`- KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`- MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`- MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`- Name string `json:"name"`- ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`- PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`- PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`- PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`- RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`- ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`- ScimEnabled *bool `json:"scimEnabled,omitempty"`- SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`- SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`- SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`- ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`- ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`- Slug string `json:"slug"`- UpdatedAt time.Time `json:"updatedAt"`- UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`- } `json:"organization"`+ IsMfaEnabled bool `json:"isMfaEnabled"`+ MfaMethod *string `json:"mfaMethod,omitempty"`+ Token string `json:"token"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15257,11 +17538,11 @@ func ParseCreateOrganizationResponse(rsp *http.Response) (*CreateOrganizationRescase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateOrganization400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15270,10 +17551,10 @@ func ParseCreateOrganizationResponse(rsp *http.Response) (*CreateOrganizationRescase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateOrganization401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15282,11 +17563,11 @@ func ParseCreateOrganizationResponse(rsp *http.Response) (*CreateOrganizationRescase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateOrganization403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15295,10 +17576,10 @@ func ParseCreateOrganizationResponse(rsp *http.Response) (*CreateOrganizationRescase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateOrganization404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15307,10 +17588,10 @@ func ParseCreateOrganizationResponse(rsp *http.Response) (*CreateOrganizationRescase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:var dest struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CreateOrganization422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15319,10 +17600,10 @@ func ParseCreateOrganizationResponse(rsp *http.Response) (*CreateOrganizationRescase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CreateOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode SelectOrganizationV3500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15334,15 +17615,15 @@ func ParseCreateOrganizationResponse(rsp *http.Response) (*CreateOrganizationResreturn response, nil}-// ParseDeleteOrganizationResponse parses an HTTP response from a DeleteOrganizationWithResponse call-func ParseDeleteOrganizationResponse(rsp *http.Response) (*DeleteOrganizationResponse, error) {+// ParseCompleteAccountSignupV3Response parses an HTTP response from a CompleteAccountSignupV3WithResponse call+func ParseCompleteAccountSignupV3Response(rsp *http.Response) (*CompleteAccountSignupV3Response, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &DeleteOrganizationResponse{+ response := &CompleteAccountSignupV3Response{Body: bodyBytes,HTTPResponse: rsp,}@@ -15350,40 +17631,18 @@ func ParseDeleteOrganizationResponse(rsp *http.Response) (*DeleteOrganizationResswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- AccessToken string `json:"accessToken"`- Organization struct {- AllowCrossProjectSecretSharing *bool `json:"allowCrossProjectSecretSharing,omitempty"`- AllowSecretSharingOutsideOrganization *bool `json:"allowSecretSharingOutsideOrganization,omitempty"`- AuthEnforced *bool `json:"authEnforced,omitempty"`- BlockDuplicateSecretSyncDestinations *bool `json:"blockDuplicateSecretSyncDestinations,omitempty"`- BypassOrgAuthEnabled *bool `json:"bypassOrgAuthEnabled,omitempty"`- CreatedAt time.Time `json:"createdAt"`- CustomerId *string `json:"customerId,omitempty"`- DefaultMembershipRole *string `json:"defaultMembershipRole,omitempty"`- EnforceMfa *bool `json:"enforceMfa,omitempty"`- GoogleSsoAuthEnforced *bool `json:"googleSsoAuthEnforced,omitempty"`- Id openapi_types.UUID `json:"id"`- KmsDefaultKeyId *openapi_types.UUID `json:"kmsDefaultKeyId,omitempty"`- KmsProductEnabled *bool `json:"kmsProductEnabled,omitempty"`- MaxSharedSecretLifetime *float32 `json:"maxSharedSecretLifetime,omitempty"`- MaxSharedSecretViewLimit *float32 `json:"maxSharedSecretViewLimit,omitempty"`- Name string `json:"name"`- ParentOrgId *openapi_types.UUID `json:"parentOrgId,omitempty"`- PkiProductEnabled *bool `json:"pkiProductEnabled,omitempty"`- PrivilegeUpgradeInitiatedAt *time.Time `json:"privilegeUpgradeInitiatedAt,omitempty"`- PrivilegeUpgradeInitiatedByUsername *string `json:"privilegeUpgradeInitiatedByUsername,omitempty"`- RootOrgId *openapi_types.UUID `json:"rootOrgId,omitempty"`- ScannerProductEnabled *bool `json:"scannerProductEnabled,omitempty"`- ScimEnabled *bool `json:"scimEnabled,omitempty"`- SecretShareBrandConfig interface{} `json:"secretShareBrandConfig,omitempty"`- SecretsProductEnabled *bool `json:"secretsProductEnabled,omitempty"`- SelectedMfaMethod *string `json:"selectedMfaMethod,omitempty"`- ShareSecretsProductEnabled *bool `json:"shareSecretsProductEnabled,omitempty"`- ShouldUseNewPrivilegeSystem *bool `json:"shouldUseNewPrivilegeSystem,omitempty"`- Slug string `json:"slug"`- UpdatedAt time.Time `json:"updatedAt"`- UserTokenExpiration *string `json:"userTokenExpiration,omitempty"`- } `json:"organization"`+ Message string `json:"message"`+ Token string `json:"token"`+ User struct {+ AuthMethods *[]string `json:"authMethods,omitempty"`+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsEmailVerified *bool `json:"isEmailVerified,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ PublicKey *string `json:"publicKey,omitempty"`+ Username string `json:"username"`+ } `json:"user"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15392,11 +17651,11 @@ func ParseDeleteOrganizationResponse(rsp *http.Response) (*DeleteOrganizationRescase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteOrganization400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15405,10 +17664,10 @@ func ParseDeleteOrganizationResponse(rsp *http.Response) (*DeleteOrganizationRescase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteOrganization401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15417,11 +17676,11 @@ func ParseDeleteOrganizationResponse(rsp *http.Response) (*DeleteOrganizationRescase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteOrganization403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15430,10 +17689,10 @@ func ParseDeleteOrganizationResponse(rsp *http.Response) (*DeleteOrganizationRescase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteOrganization404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15442,10 +17701,10 @@ func ParseDeleteOrganizationResponse(rsp *http.Response) (*DeleteOrganizationRescase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:var dest struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode DeleteOrganization422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15454,10 +17713,10 @@ func ParseDeleteOrganizationResponse(rsp *http.Response) (*DeleteOrganizationRescase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode DeleteOrganization500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CompleteAccountSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15469,15 +17728,15 @@ func ParseDeleteOrganizationResponse(rsp *http.Response) (*DeleteOrganizationResreturn response, nil}-// ParseLoginV3Response parses an HTTP response from a LoginV3WithResponse call-func ParseLoginV3Response(rsp *http.Response) (*LoginV3Response, error) {+// ParseBeginEmailSignupV3Response parses an HTTP response from a BeginEmailSignupV3WithResponse call+func ParseBeginEmailSignupV3Response(rsp *http.Response) (*BeginEmailSignupV3Response, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &LoginV3Response{+ response := &BeginEmailSignupV3Response{Body: bodyBytes,HTTPResponse: rsp,}@@ -15485,7 +17744,8 @@ func ParseLoginV3Response(rsp *http.Response) (*LoginV3Response, error) {switch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- AccessToken string `json:"accessToken"`+ CooldownSeconds float32 `json:"cooldownSeconds"`+ Message string `json:"message"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15494,11 +17754,11 @@ func ParseLoginV3Response(rsp *http.Response) (*LoginV3Response, error) {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginV3400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15507,10 +17767,10 @@ func ParseLoginV3Response(rsp *http.Response) (*LoginV3Response, error) {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginV3401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15519,11 +17779,11 @@ func ParseLoginV3Response(rsp *http.Response) (*LoginV3Response, error) {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginV3403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15532,10 +17792,10 @@ func ParseLoginV3Response(rsp *http.Response) (*LoginV3Response, error) {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginV3404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15544,10 +17804,10 @@ func ParseLoginV3Response(rsp *http.Response) (*LoginV3Response, error) {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:var dest struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode LoginV3422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15556,10 +17816,10 @@ func ParseLoginV3Response(rsp *http.Response) (*LoginV3Response, error) {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode LoginV3500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode BeginEmailSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15571,15 +17831,15 @@ func ParseLoginV3Response(rsp *http.Response) (*LoginV3Response, error) {return response, nil}-// ParseSelectOrganizationV3Response parses an HTTP response from a SelectOrganizationV3WithResponse call-func ParseSelectOrganizationV3Response(rsp *http.Response) (*SelectOrganizationV3Response, error) {+// ParseVerifyEmailSignupV3Response parses an HTTP response from a VerifyEmailSignupV3WithResponse call+func ParseVerifyEmailSignupV3Response(rsp *http.Response) (*VerifyEmailSignupV3Response, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &SelectOrganizationV3Response{+ response := &VerifyEmailSignupV3Response{Body: bodyBytes,HTTPResponse: rsp,}@@ -15587,9 +17847,18 @@ func ParseSelectOrganizationV3Response(rsp *http.Response) (*SelectOrganizationVswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- IsMfaEnabled bool `json:"isMfaEnabled"`- MfaMethod *string `json:"mfaMethod,omitempty"`- Token string `json:"token"`+ Message string `json:"message"`+ Token string `json:"token"`+ User struct {+ AuthMethods *[]string `json:"authMethods,omitempty"`+ Email *string `json:"email,omitempty"`+ FirstName *string `json:"firstName,omitempty"`+ Id openapi_types.UUID `json:"id"`+ IsEmailVerified *bool `json:"isEmailVerified,omitempty"`+ LastName *string `json:"lastName,omitempty"`+ PublicKey *string `json:"publicKey,omitempty"`+ Username string `json:"username"`+ } `json:"user"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15598,11 +17867,11 @@ func ParseSelectOrganizationV3Response(rsp *http.Response) (*SelectOrganizationVcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode SelectOrganizationV3400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15611,10 +17880,10 @@ func ParseSelectOrganizationV3Response(rsp *http.Response) (*SelectOrganizationVcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode SelectOrganizationV3401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15623,11 +17892,11 @@ func ParseSelectOrganizationV3Response(rsp *http.Response) (*SelectOrganizationVcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode SelectOrganizationV3403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15636,10 +17905,10 @@ func ParseSelectOrganizationV3Response(rsp *http.Response) (*SelectOrganizationVcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode SelectOrganizationV3404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15648,10 +17917,10 @@ func ParseSelectOrganizationV3Response(rsp *http.Response) (*SelectOrganizationVcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:var dest struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode SelectOrganizationV3422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15660,10 +17929,10 @@ func ParseSelectOrganizationV3Response(rsp *http.Response) (*SelectOrganizationVcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode SelectOrganizationV3500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode VerifyEmailSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15675,15 +17944,15 @@ func ParseSelectOrganizationV3Response(rsp *http.Response) (*SelectOrganizationVreturn response, nil}-// ParseCompleteAccountSignupV3Response parses an HTTP response from a CompleteAccountSignupV3WithResponse call-func ParseCompleteAccountSignupV3Response(rsp *http.Response) (*CompleteAccountSignupV3Response, error) {+// ParseListSecretsV4Response parses an HTTP response from a ListSecretsV4WithResponse call+func ParseListSecretsV4Response(rsp *http.Response) (*ListSecretsV4Response, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &CompleteAccountSignupV3Response{+ response := &ListSecretsV4Response{Body: bodyBytes,HTTPResponse: rsp,}@@ -15691,31 +17960,99 @@ func ParseCompleteAccountSignupV3Response(rsp *http.Response) (*CompleteAccountSswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- Message string `json:"message"`- Token string `json:"token"`- User struct {- AuthMethods *[]string `json:"authMethods,omitempty"`- Email *string `json:"email,omitempty"`- FirstName *string `json:"firstName,omitempty"`- Id openapi_types.UUID `json:"id"`- IsEmailVerified *bool `json:"isEmailVerified,omitempty"`- LastName *string `json:"lastName,omitempty"`- PublicKey *string `json:"publicKey,omitempty"`- Username string `json:"username"`- } `json:"user"`+ Imports *[]struct {+ Environment string `json:"environment"`+ FolderId *string `json:"folderId,omitempty"`+ SecretPath string `json:"secretPath"`+ Secrets []struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretPath *string `json:"secretPath,omitempty"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Type string `json:"type"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secrets"`+ } `json:"imports,omitempty"`+ Secrets []struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretPath *string `json:"secretPath,omitempty"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Tags *[]struct {+ Color *string `json:"color,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"tags,omitempty"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secrets"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err}response.JSON200 = &dest+ case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 304:+ var dest interface{}+ if err := json.Unmarshal(bodyBytes, &dest); err != nil {+ return nil, err+ }+ response.JSON304 = &dest+case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CompleteAccountSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15724,10 +18061,10 @@ func ParseCompleteAccountSignupV3Response(rsp *http.Response) (*CompleteAccountScase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CompleteAccountSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15736,11 +18073,11 @@ func ParseCompleteAccountSignupV3Response(rsp *http.Response) (*CompleteAccountScase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CompleteAccountSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15749,10 +18086,10 @@ func ParseCompleteAccountSignupV3Response(rsp *http.Response) (*CompleteAccountScase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CompleteAccountSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15761,10 +18098,10 @@ func ParseCompleteAccountSignupV3Response(rsp *http.Response) (*CompleteAccountScase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:var dest struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode CompleteAccountSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15773,10 +18110,10 @@ func ParseCompleteAccountSignupV3Response(rsp *http.Response) (*CompleteAccountScase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode CompleteAccountSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode ListSecretsV4500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15788,15 +18125,15 @@ func ParseCompleteAccountSignupV3Response(rsp *http.Response) (*CompleteAccountSreturn response, nil}-// ParseBeginEmailSignupV3Response parses an HTTP response from a BeginEmailSignupV3WithResponse call-func ParseBeginEmailSignupV3Response(rsp *http.Response) (*BeginEmailSignupV3Response, error) {+// ParseGetSecretByNameV4Response parses an HTTP response from a GetSecretByNameV4WithResponse call+func ParseGetSecretByNameV4Response(rsp *http.Response) (*GetSecretByNameV4Response, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &BeginEmailSignupV3Response{+ response := &GetSecretByNameV4Response{Body: bodyBytes,HTTPResponse: rsp,}@@ -15804,8 +18141,44 @@ func ParseBeginEmailSignupV3Response(rsp *http.Response) (*BeginEmailSignupV3Resswitch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:var dest struct {- CooldownSeconds float32 `json:"cooldownSeconds"`- Message string `json:"message"`+ Secret struct {+ UnderscoreId string `json:"_id"`+ Actor *struct {+ ActorId *string `json:"actorId,omitempty"`+ ActorType *string `json:"actorType,omitempty"`+ GroupId *string `json:"groupId,omitempty"`+ MembershipId *string `json:"membershipId,omitempty"`+ Name *string `json:"name,omitempty"`+ } `json:"actor,omitempty"`+ CreatedAt time.Time `json:"createdAt"`+ Environment string `json:"environment"`+ Id string `json:"id"`+ IsRotatedSecret *bool `json:"isRotatedSecret,omitempty"`+ RotationId *openapi_types.UUID `json:"rotationId,omitempty"`+ SecretComment string `json:"secretComment"`+ SecretKey string `json:"secretKey"`+ SecretMetadata *[]struct {+ IsEncrypted *bool `json:"isEncrypted,omitempty"`+ Key string `json:"key"`+ Value *string `json:"value,omitempty"`+ } `json:"secretMetadata,omitempty"`+ SecretPath string `json:"secretPath"`+ SecretReminderNote *string `json:"secretReminderNote,omitempty"`+ SecretReminderRepeatDays *float32 `json:"secretReminderRepeatDays,omitempty"`+ SecretValue string `json:"secretValue"`+ SecretValueHidden bool `json:"secretValueHidden"`+ SkipMultilineEncoding *bool `json:"skipMultilineEncoding,omitempty"`+ Tags *[]struct {+ Color *string `json:"color,omitempty"`+ Id openapi_types.UUID `json:"id"`+ Name string `json:"name"`+ Slug string `json:"slug"`+ } `json:"tags,omitempty"`+ Type string `json:"type"`+ UpdatedAt time.Time `json:"updatedAt"`+ Version float32 `json:"version"`+ Workspace string `json:"workspace"`+ } `json:"secret"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15814,11 +18187,11 @@ func ParseBeginEmailSignupV3Response(rsp *http.Response) (*BeginEmailSignupV3Rescase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode BeginEmailSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByNameV4400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15827,10 +18200,10 @@ func ParseBeginEmailSignupV3Response(rsp *http.Response) (*BeginEmailSignupV3Rescase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode BeginEmailSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByNameV4401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15839,11 +18212,11 @@ func ParseBeginEmailSignupV3Response(rsp *http.Response) (*BeginEmailSignupV3Rescase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode BeginEmailSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByNameV4403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15852,10 +18225,10 @@ func ParseBeginEmailSignupV3Response(rsp *http.Response) (*BeginEmailSignupV3Rescase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode BeginEmailSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByNameV4404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15864,10 +18237,10 @@ func ParseBeginEmailSignupV3Response(rsp *http.Response) (*BeginEmailSignupV3Rescase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:var dest struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode BeginEmailSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByNameV4422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15876,10 +18249,10 @@ func ParseBeginEmailSignupV3Response(rsp *http.Response) (*BeginEmailSignupV3Rescase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode BeginEmailSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode GetSecretByNameV4500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15891,35 +18264,22 @@ func ParseBeginEmailSignupV3Response(rsp *http.Response) (*BeginEmailSignupV3Resreturn response, nil}-// ParseVerifyEmailSignupV3Response parses an HTTP response from a VerifyEmailSignupV3WithResponse call-func ParseVerifyEmailSignupV3Response(rsp *http.Response) (*VerifyEmailSignupV3Response, error) {+// ParseCreateSecretV4Response parses an HTTP response from a CreateSecretV4WithResponse call+func ParseCreateSecretV4Response(rsp *http.Response) (*CreateSecretV4Response, error) {bodyBytes, err := io.ReadAll(rsp.Body)defer func() { _ = rsp.Body.Close() }()if err != nil {return nil, err}- response := &VerifyEmailSignupV3Response{+ response := &CreateSecretV4Response{Body: bodyBytes,HTTPResponse: rsp,}switch {case strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 200:- var dest struct {- Message string `json:"message"`- Token string `json:"token"`- User struct {- AuthMethods *[]string `json:"authMethods,omitempty"`- Email *string `json:"email,omitempty"`- FirstName *string `json:"firstName,omitempty"`- Id openapi_types.UUID `json:"id"`- IsEmailVerified *bool `json:"isEmailVerified,omitempty"`- LastName *string `json:"lastName,omitempty"`- PublicKey *string `json:"publicKey,omitempty"`- Username string `json:"username"`- } `json:"user"`- }+ var dest CreateSecretV4200JSONResponseBodyif err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err}@@ -15927,11 +18287,11 @@ func ParseVerifyEmailSignupV3Response(rsp *http.Response) (*VerifyEmailSignupV3Rcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 400:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyEmailSignupV3400JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretV4400JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15940,10 +18300,10 @@ func ParseVerifyEmailSignupV3Response(rsp *http.Response) (*VerifyEmailSignupV3Rcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 401:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyEmailSignupV3401JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretV4401JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15952,11 +18312,11 @@ func ParseVerifyEmailSignupV3Response(rsp *http.Response) (*VerifyEmailSignupV3Rcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 403:var dest struct {- Details interface{} `json:"details,omitempty"`- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyEmailSignupV3403JSONResponseBodyStatusCode `json:"statusCode"`+ Details interface{} `json:"details,omitempty"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretV4403JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15965,10 +18325,10 @@ func ParseVerifyEmailSignupV3Response(rsp *http.Response) (*VerifyEmailSignupV3Rcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 404:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyEmailSignupV3404JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretV4404JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15977,10 +18337,10 @@ func ParseVerifyEmailSignupV3Response(rsp *http.Response) (*VerifyEmailSignupV3Rcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 422:var dest struct {- Error string `json:"error"`- Message interface{} `json:"message,omitempty"`- ReqId string `json:"reqId"`- StatusCode VerifyEmailSignupV3422JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message interface{} `json:"message,omitempty"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretV4422JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, err@@ -15989,10 +18349,10 @@ func ParseVerifyEmailSignupV3Response(rsp *http.Response) (*VerifyEmailSignupV3Rcase strings.Contains(rsp.Header.Get("Content-Type"), "json") && rsp.StatusCode == 500:var dest struct {- Error string `json:"error"`- Message string `json:"message"`- ReqId string `json:"reqId"`- StatusCode VerifyEmailSignupV3500JSONResponseBodyStatusCode `json:"statusCode"`+ Error string `json:"error"`+ Message string `json:"message"`+ ReqId string `json:"reqId"`+ StatusCode CreateSecretV4500JSONResponseBodyStatusCode `json:"statusCode"`}if err := json.Unmarshal(bodyBytes, &dest); err != nil {return nil, errdiff --git a/tests/clients/api/oapi-codegen.yaml b/tests/clients/api/oapi-codegen.yamlindex 33762bf9b0..4c02f63ba9 100644--- a/tests/clients/api/oapi-codegen.yaml+++ b/tests/clients/api/oapi-codegen.yaml@@ -41,3 +41,6 @@ output-options:- attachUniversalAuth- createUniversalAuthClientSecret- loginWithUniversalAuth+ - createSecretV4+ - getSecretByNameV4+ - listSecretsV4diff --git a/tests/suites/secretmanager/secrets/create_test.go b/tests/suites/secretmanager/secrets/create_test.gonew file mode 100644index 0000000000..1304311f27--- /dev/null+++ b/tests/suites/secretmanager/secrets/create_test.go@@ -0,0 +1,187 @@+package secrets_test++import (+ "net/http"+ "testing"++ "github.com/Infisical/infisical/tests/clients/api"+ "github.com/Infisical/infisical/tests/fixture/project"+ "github.com/Infisical/infisical/tests/harness"+ "github.com/Infisical/infisical/tests/internal/spec"+)++func TestSecret_Create(t *testing.T) {+ t.Parallel()+ h := harness.From(t)++ t.Run("ok/a created secret reads back with its value", func(t *testing.T) {+ t.Parallel()++ tn := h.NewTenant(t)+ proj := project.New(t, tn, project.WithType("secret-manager"))++ created := createSecret(t, tn, proj.ID, "dev", "/", "DB_URL", "postgres://localhost/app")+ if created.Secret.SecretKey != "DB_URL" {+ t.Errorf("created secret is named %q, want DB_URL", created.Secret.SecretKey)+ }++ got := getSecret(t, tn, proj.ID, "dev", "/", "DB_URL")+ if got.SecretValue != "postgres://localhost/app" {+ t.Errorf("secret read back as %q, want postgres://localhost/app", got.SecretValue)+ }+ if got.SecretValueHidden {+ t.Error("the value came back hidden, so nothing downstream could use it")+ }+ if got.SecretPath != "/" {+ t.Errorf("secret is at path %q, want /", got.SecretPath)+ }+ })++ t.Run("ok/the same name in two environments holds two values", func(t *testing.T) {+ t.Parallel()+ spec.Why(t, `Environments are the point of a secret manager: the same key carries a+ different value per environment, and a create in one must not touch another.`)++ tn := h.NewTenant(t)+ proj := project.New(t, tn, project.WithType("secret-manager"))++ createSecret(t, tn, proj.ID, "dev", "/", "API_KEY", "dev-value")+ createSecret(t, tn, proj.ID, "prod", "/", "API_KEY", "prod-value")++ if got := getSecret(t, tn, proj.ID, "dev", "/", "API_KEY"); got.SecretValue != "dev-value" {+ t.Errorf("dev holds %q, want dev-value", got.SecretValue)+ }+ if got := getSecret(t, tn, proj.ID, "prod", "/", "API_KEY"); got.SecretValue != "prod-value" {+ t.Errorf("prod holds %q, want prod-value", got.SecretValue)+ }+ })++ t.Run("conflict/creating the same name twice is refused", func(t *testing.T) {+ t.Parallel()+ spec.Why(t, `Create must not silently overwrite. If it did, a caller expecting to+ add a secret could replace one already in use and never learn about it.`)++ tn := h.NewTenant(t)+ proj := project.New(t, tn, project.WithType("secret-manager"))++ createSecret(t, tn, proj.ID, "dev", "/", "TOKEN", "first")++ res, err := tn.Admin.API.CreateSecretV4WithResponse(t.Context(), "TOKEN",+ api.CreateSecretV4JSONRequestBody{+ ProjectId: proj.ID,+ Environment: "dev",+ SecretPath: new("/"),+ SecretValue: "second",+ })+ if err != nil {+ t.Fatalf("creating a duplicate secret: %v", err)+ }+ if res.StatusCode() == http.StatusOK {+ t.Fatal("creating a secret that already exists was allowed")+ }+ if got := getSecret(t, tn, proj.ID, "dev", "/", "TOKEN"); got.SecretValue != "first" {+ t.Errorf("the refused create still changed the value to %q", got.SecretValue)+ }+ })++ t.Run("invalid/an unknown environment is refused", func(t *testing.T) {+ t.Parallel()++ tn := h.NewTenant(t)+ proj := project.New(t, tn, project.WithType("secret-manager"))++ res, err := tn.Admin.API.CreateSecretV4WithResponse(t.Context(), "STRAY",+ api.CreateSecretV4JSONRequestBody{+ ProjectId: proj.ID,+ Environment: "nope",+ SecretPath: new("/"),+ SecretValue: "value",+ })+ if err != nil {+ t.Fatalf("creating a secret in an unknown environment: %v", err)+ }+ if res.StatusCode() == http.StatusOK {+ t.Fatal("a secret was created in an environment that does not exist")+ }+ })++ t.Run("cross-tenant/another tenant's project is not writable", func(t *testing.T) {+ t.Parallel()++ mine, theirs := h.NewTenant(t), h.NewTenant(t)+ target := project.New(t, theirs, project.WithType("secret-manager"))++ res, err := mine.Admin.API.CreateSecretV4WithResponse(t.Context(), "STOLEN",+ api.CreateSecretV4JSONRequestBody{+ ProjectId: target.ID,+ Environment: "dev",+ SecretPath: new("/"),+ SecretValue: "value",+ })+ if err != nil {+ t.Fatalf("writing into another tenant's project: %v", err)+ }+ if res.StatusCode() == http.StatusOK {+ t.Fatalf("tenant %s wrote a secret into tenant %s's project", mine.OrgSlug, theirs.OrgSlug)+ }+ })+}++// createSecret writes a secret and fails the test if the API refused it.+//+// A local helper rather than a fixture: only this file needs it, and the conventions+// keep suite-local helpers next to the tests that use them.+func createSecret(t *testing.T, tn *harness.Tenant, projectID, env, path, name, value string) api.CreateSecretV4200JSONResponseBody0 {+ t.Helper()++ res, err := tn.Admin.API.CreateSecretV4WithResponse(t.Context(), name,+ api.CreateSecretV4JSONRequestBody{+ ProjectId: projectID,+ Environment: env,+ SecretPath: new(path),+ SecretValue: value,+ })+ if err != nil {+ t.Fatalf("creating secret %s: %v", name, err)+ }+ if res.JSON200 == nil {+ t.Fatalf("creating secret %s returned %d: %s", name, res.StatusCode(), res.Body)+ }++ // The response is a union: a secret, or an approval request when a change policy+ // applies. A tenant has no policy unless a test adds one, so anything else here+ // means the request took a path this test did not intend.+ created, err := res.JSON200.AsCreateSecretV4200JSONResponseBody0()+ if err != nil {+ t.Fatalf("creating secret %s returned an approval request, not a secret: %s", name, res.Body)+ }+ return created+}++func getSecret(t *testing.T, tn *harness.Tenant, projectID, env, path, name string) secretValue {+ t.Helper()++ res, err := tn.Admin.API.GetSecretByNameV4WithResponse(t.Context(), name, &api.GetSecretByNameV4Params{+ ProjectId: projectID,+ Environment: new(env),+ SecretPath: new(path),+ ViewSecretValue: new(api.GetSecretByNameV4ParamsViewSecretValue("true")),+ })+ if err != nil {+ t.Fatalf("reading secret %s: %v", name, err)+ }+ if res.JSON200 == nil {+ t.Fatalf("reading secret %s returned %d: %s", name, res.StatusCode(), res.Body)+ }+ return secretValue{+ SecretValue: res.JSON200.Secret.SecretValue,+ SecretValueHidden: res.JSON200.Secret.SecretValueHidden,+ SecretPath: res.JSON200.Secret.SecretPath,+ }+}++type secretValue struct {+ SecretValue string+ SecretValueHidden bool+ SecretPath string+}diff --git a/tests/suites/secretmanager/secrets/main_test.go b/tests/suites/secretmanager/secrets/main_test.gonew file mode 100644index 0000000000..42fbc043e6--- /dev/null+++ b/tests/suites/secretmanager/secrets/main_test.go@@ -0,0 +1,9 @@+package secrets_test++import (+ "testing"++ "github.com/Infisical/infisical/tests/harness"+)++func TestMain(m *testing.M) { harness.Main(m, harness.Shared) }